public static string GetUserIP() { string result = String.Empty; result = HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"]; if (result != null && result != String.Empty) { //可能有代理 if (result.IndexOf(... Read More
posted @ 2013-10-25 13:42 梦醒心晴 Views(184) Comments(0) Diggs(0)
ip转换为真实地址(详细到市) Read More
posted @ 2013-10-25 11:14 梦醒心晴 Views(103) Comments(0) Diggs(0)