Shows information about your IP, browser, network and system
Shows information about your browser, network and system. This online tool grabs all available information about the browser you're using, its capabilities, your network (IP and proxy) and some system info like local time and screen features. *** We do not store this information ***. '; $myIP = getIP(); $myhostname = gethostbyaddr($myIP); echo 'Client IP: '.$myIP.""; echo 'Client Host: ' . $myhostname."
"; echo 'Client Port: ' . $_SERVER['REMOTE_PORT']. '
'; echo 'Whois Information for ' . $myIP . ':
'; $whoisinfo = system('whois '.$myIP); //$myCity = countryCityFromIP($myIP); //echo 'IP belongs to country and city:
'; //print_r($myCity); //echo "
"; echo '
'; echo 'HTTP_HOST = '.$_SERVER['HTTP_HOST']. '
'; echo 'HTTP_REFERER = '.$_SERVER['HTTP_REFERER']. '
'; echo 'HTTP_USER_AGENT = '.$_SERVER['HTTP_USER_AGENT']. '
'; echo 'HTTPS = '.$_SERVER['HTTPS']. '
'; echo 'REMOTE_ADDR = '.$_SERVER['REMOTE_ADDR']. '
'; echo 'REMOTE_HOST = '.$_SERVER['REMOTE_HOST']. '
'; echo 'REMOTE_PORT = '.$_SERVER['REMOTE_PORT']. '
'; echo '
'; //phpinfo(); foreach($_SERVER as $h=>$v) { if(ereg('HTTP_(.+)',$h,$hp)) echo "$h = $v
"; } function getIP() { $ip; if (getenv("HTTP_CLIENT_IP")) $ip = getenv("HTTP_CLIENT_IP"); else if(getenv("HTTP_X_FORWARDED_FOR")) $ip = getenv("HTTP_X_FORWARDED_FOR"); else if(getenv("REMOTE_ADDR")) $ip = getenv("REMOTE_ADDR"); else $ip = "UNKNOWN"; return $ip; } ?>