Re: [PHP] Re: Host OnLine ?

2001-08-06 Thread Andreas D. Landmark
At 07.08.2001 06:17, Arcadius A. wrote: >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 > >Arcad > IIRC there was a class that enabled you

[PHP] Re: Host OnLine ?

2001-08-06 Thread Karl Austin
"Arcadius A." <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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

Re: [PHP] Re: Host OnLine ?

2001-08-06 Thread mike cullerton
on 8/6/01 11:17 PM, Arcadius A. at [EMAIL PROTECTED] wrote: > 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 ... maybe some kind of snmp query? -- mike c

RE: [PHP] Re: Host OnLine ?

2001-08-06 Thread Robert Collins
Why not use ping like -Original Message- From: Arcadius A. [mailto:[EMAIL PROTECTED]] Sent: Monday, August 06, 2001 10:17 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Host OnLine ? What if the host I'm checking is a simple workstation not running neither a HTTP nor a FTP s

[PHP] Re: Host OnLine ?

2001-08-06 Thread Arcadius A.
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 Arcad "Arcadius A." <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED

[PHP] Re: Host OnLine ?

2001-08-06 Thread Hidulf
which web server are you using? if you are using apache as the web server, i think you can try the function apache_lookup_uri(). this function will return status of the request. or you can use fsockopen() that allow you to make connection to internet connection. -- Hidulf http://www.hidulf.com "A