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

images php coding issues or problems here.

Moderators: macek, egami, gesf

php-forum Active User
php-forum Active User
Posts: 364
Joined: Mon Jul 14, 2003 9:39 pm
Location: /Earth/Xion

Postby sigix » Mon Nov 10, 2003 6:28 pm

ok I have made this kind of application

Code: Select all

$command="ping -c 1 $host";
if (strstr("bytes from",$output[0])){
 echo "<img src =green.gif>";
echo "<img src =red.gif>";

will post the link from where it can be download.(updating servers now)

Return to “PHP coding => Images”

Who is online

Users browsing this forum: No registered users and 1 guest