RE: [PHP] ping in safe mode...

From: Date: Sat, 06 Oct 2001 16:52:13 +0000
Subject: RE: [PHP] ping in safe mode...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-70227@lists.php.net to get a copy of this message
You could try the following fopen() fsockopen() include() These functions work with remote servers. On failure if(!fopen($server)) you could assume that the file in question is unavailable, thus is off line (if that's the case) You an never be sure about that though. Dopobachennya. Maxim Maletsky www.PHPBeginner.com > -----Original Message----- > From: ArsenKirillov [mailto:softm@ipm.lviv.ua] > Sent: sabato 6 ottobre 2001 19.46 > To: Php-General-mailing-list > Subject: [PHP] ping in safe mode... > > > How can i found that any one host is on-line ? > this is for displaying info about broken ftp links , when ftp > server is off. And how can i do this when i can't > exec{"ping"} because of safe mode of php ? > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: > php-general-help@lists.php.net To contact the list > administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#70227) next »