A
Anonymous
Guest
Hi !
anyone can tell me why this little script does not work ?
( I receive following error
ping: icmp open socket: Operation not permitted )
Thanks 1000X!
anyone can tell me why this little script does not work ?
( I receive following error
ping: icmp open socket: Operation not permitted )
Code:
<?
$domain="yahoo.com";
$run = shell_exec("/bin/ping -c5 -n -q -w5 $domain 2>&1");
echo $run;
?>
Thanks 1000X!