87,997
社区成员




string result = HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (null == result || result == String.Empty)
{
result = HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"];
}
string ip = Request.UserHostAddress;
xml = new ActiveXObject("Microsoft.XMLHTTP");
xml.open("GET","http://www.zu14.cn/ip/",false);
xml.send();
alert(xml.ResponseText);