exec ping
| From: | Juan Pablo Herrera | Date: | Sun, 21 Aug 2005 03:34:51 +0000 |
| Subject: | exec ping | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-221019@lists.php.net to get a copy of this message | ||
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