Why not use ping like 

$bob = exec("ping -c 1 php.net");
echo $bob;

-----Original Message-----
From: Arcadius A. [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 06, 2001 10:17 PM
Subject: [PHP] Re: Host OnLine ?

What if the host I'm checking is a simple workstation not running neither a
HTTP  nor a FTP server ?
I'm writing this script for an intranet to check which machines are
currently on ...

Thanks ....


"Arcadius A." <[EMAIL PROTECTED]> wrote in message
> Hello !
> Is there any function in PHP returning true or false  or something similar
> when a given host is online or not ?
> Basically , I'm in need od  something "ping" ....
> Thanks ...
> Arcad

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to