mirror of
https://github.com/php/web-php.git
synced 2026-04-27 00:48:10 +02:00
Ok, well, I am quite confused. How come file_exists() is not a valid
function on 3 out of 5 mirrors?
This commit is contained in:
@@ -7,7 +7,6 @@ function local_ping($ip) {
|
||||
elseif(file_exists("/usr/bin/ping")) { $ping="/usr/bin/ping"; }
|
||||
elseif(file_exists("/usr/local/bin/ping")) { $ping="/usr/local/bin/ping"; }
|
||||
else { $ping="ping"; }
|
||||
echo $ping;
|
||||
$fp=popen("$ping -s -n $ip 32 5","r");
|
||||
$i=0;
|
||||
while(!feof($fp)) {
|
||||
|
||||
Reference in New Issue
Block a user