Re: exec ping

From: Date: Sun, 21 Aug 2005 05:07:41 +0000
Subject: Re: exec ping
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-221023@lists.php.net to get a copy of this message
Juan Pablo Herrera wrote:
Thanks Jasper, well, i need make a explode of results of the ping. The idea is check a host and when the host don´ t response send a email. I don't explode the result of the ping.
If it was me, I'd try opening a socket connection to the host instead, and check to see if you can connect or not. Whether or not that is suitable to your application I don't know... Jasper

« previous php.general (#221023) next »