Function GetIp() Dim DulIp,ProIP DulIp=Request.ServerVariables("HTTP_X_FORWARDED_FOR") ProIP=Request.ServerVariables("REMOTE_ADDR") If DulIp="" Then GetIp=ProIP Else GetIp=DulIp End If End Function
asp获取ip
最新推荐文章于 2025-02-19 10:25:40 发布
Function GetIp() Dim DulIp,ProIP DulIp=Request.ServerVariables("HTTP_X_FORWARDED_FOR") ProIP=Request.ServerVariables("REMOTE_ADDR") If DulIp="" Then GetIp=ProIP Else GetIp=DulIp End If End Function