?ping ip and graphic shows one or the other on results?

A

Anonymous

Guest
ok I have made this kind of application
Code:
$command="ping -c 1 $host";
exec($command,$output);
if (strstr("bytes from",$output[0])){
 echo "<img src =green.gif>";
}
else 
echo "<img src =red.gif>";
will post the link from where it can be download.(updating servers now)
 
Back
Top