Does anyone know how to execute traceroute in php please?
but doesn't seem to happen...
$something = `tracert http://www.yahoo.com`; for windows should work.
For unix, the trace route program is usually called traceroute, but is it possible you dont have it installed?
Also, system returns a string.. so you would need to do $something = system...
or echo (system ..);
However according to a comment on php.net, system() is unreliable at returning the results of a program so just use the `command` method, like in perl.