







|
$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( "Ping Output:
");
echo( "");
exec ("ping -c $count $host",$list);
//exec( "traceroute -n $host",$list);
for ($i = 0; $i < count($list); $i++)
echo $list[$i]." "; }}
echo ("
");
echo( "If the Packets recieved are Equal to the Packets Transmitted with Zero % Packet Loss
Then this Test has been succesful ");
}
else {
$ip = getenv(REMOTE_ADDR);
echo '
This ping utility is for the explicit use of testing connectivity of servers and workstations on your domain or workgroup.
For security reasons your computers network address has been recorded.
Your IP is: '.$ip. '
';}
?>
|
|
|