







|
$max_count) {
echo 'Maximum for count is '.$max_count.' ';
echo 'Back ';
$again = True;}
else {
If (ereg( " ",$host)) {
echo 'No Space in Host field allowed ! ';
echo 'Back ';
$again= True;}
else {
echo( "Traceroute Output:
");
echo( "");
//exec ("ping -c $count $host",$list);
exec( "traceroute -n $host",$list);
for ($i = 0; $i < count($list); $i++)
echo $list[$i]." "; }}
echo ("
");
}
else {
$ip = getenv(REMOTE_ADDR);
echo '
This traceroute utility is for the explicit use for displaying the route taken by data
For security reasons your computers network address has been recorded.
Your IP is: '.$ip. '
';}
?>
|
|
|