asp 获取内网的IP
function get_ip()
{
global $_SERVER;
if ( isset($_SERVER["HTTP_X_FORWARDED_FOR"]) )
{
$realIP = $_SERVER["HTTP_X_FORWARDED_FOR"];
}
elseif ( isset($_SERVER["HTTP_CLIENT_IP"]) )
{
$realIP = $_SERVER["HTTP_CLIENT_IP"];
}
else
{
$realIP = $_SERVER["REMOTE_ADDR"];
}
return $realIP;
}免费asp空间,免费空间
补充:asp教程,ASP入门