获取客户端IP函数详细做法,FunctiongetIP()DimstrIPAddrIfRequest.ServerVariables("HTTP_X_FORWARDED_FOR")=""ORInStr(Request.ServerVariables("HTTP_X_FORWARDED_FOR"),"unknown")>0ThenstrIPAddr=Request.ServerVariables("REMOTE_ADDR")ElseIfInStr(Request.ServerVariables(&