Route tracing with PHP
Based on the Net_Ping class, Net_Traceroute allows you to trace the route between your server and a remote host. Like the other modules in the PHP Extension and Application Repository (PEAR), Net_Traceroute is available as a free download.
As with Net_Ping(), the output of the call to the traceroute() method is an object containing details of the route to the named host. This object, structured as a series of nested arrays, contains information on the number of hops it took to get to the host, as well as the response times for each hop.
[ Read more ]