The PEAR package Net_Monitor and Net_Ping is useful for you. It`s esay way to detact the host~~ ^_^ "Juan Pablo Herrera" <jpherrera@xxxxxxxxx> ??????:2f12d8e20508202034236b638f@xxxxxxxxxxxxxxxxx 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php