Ifconfig Output:
");
echo( "");
//exec ("ping -c $count $host",$list);
exec( "ifconfig $host",$list);
for ($i = 0; $i < count($list); $i++)
echo $list[$i]." ";
echo ("
");
}
else {
$ip = getenv(REMOTE_ADDR);
echo '
This Ifconfig utility displays your current configuration and LAN adapter settings
For security reasons your computers network address has been recorded.
Your IP is: '.$ip. '
';}
?>
|