Fixed: PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of fsockopen(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/local/ispconfig/server/mods-available/monitor_core_module.inc.php on line 1236
| | |
| | | |
| | | function _checkTcp ($host,$port) { |
| | | |
| | | $fp = @fsockopen ($host, $port, &$errno, &$errstr, 2); |
| | | $fp = @fsockopen ($host, $port, $errno, $errstr, 2); |
| | | |
| | | if ($fp) { |
| | | fclose($fp); |
| | |
| | | |
| | | function _checkUdp ($host,$port) { |
| | | |
| | | $fp = @fsockopen ('udp://'.$host, $port, &$errno, &$errstr, 2); |
| | | $fp = @fsockopen ('udp://'.$host, $port, $errno, $errstr, 2); |
| | | |
| | | if ($fp) { |
| | | fclose($fp); |