Re: exec ping

From: Date: Mon, 22 Aug 2005 01:55:46 +0000
Subject: Re: exec ping
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-221057@lists.php.net to get a copy of this message
The PEAR package Net_Monitor and Net_Ping is useful for you. It`s esay way to detact the host~~ ^_^ "Juan Pablo Herrera" <jpherrera@gmail.com> ??????:2f12d8e20508202034236b638f@mail.gmail.com... Hi all! I have following script: $comando = system('ping 168.192.0.1', $nn); echo $nn; Well, i need that only show the first ten lines of the ping and kill the process. How can i make it? Regards, JP

« previous php.general (#221057) next »