Re: Checking if a host is online
| From: | Jason Giangrande | Date: | Sat, 29 Nov 2003 17:27:38 +0000 |
| Subject: | Re: Checking if a host is online | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-171358@lists.php.net to get a copy of this message | ||
On Sat, 2003-11-29 at 12:20, Adam Maas wrote:
> why not try:
>
> passthru("ping $host");
>
> Adam
That still takes a little while to execute on multiple hosts, Plus I
need to modify the output of the command to print just the IP address
and discard the rest of the output.
--
Jason Giangrande <jason@giangrande.org>
http://www.giangrande.org
http://www.dogsiview.com
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc