Re: ping

From: Date: Thu, 28 Dec 2000 04:26:32 +0000
Subject: Re: ping
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-32049@lists.php.net to get a copy of this message
<?php exec("/full/path/to/ping -n 10", $output, $error); while (list(,$line) = each($output)){ echo $line, "<BR>\n"; } if ($error){ die("OS Error: $error. Use man errno. Usually boils down to path/permissions."); } ?> ----- Original Message ----- From: "Timothy G. Wells" <Tim.Wells@goodnews.net> Newsgroups: php.general Sent: Wednesday, December 27, 2000 12:24 PM Subject: [PHP] ping > Greetings, > > I want to do some pings and display performance, lost packets, etc. Is > there a cool way to do this? > > Thanks, > > -- Tim > > > -- > 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 (#32049) next »