当前位置:编程学习 > asp >>

asp检查来访者是否用了代理

答案:<% if Request.ServerVariables("HTTP_X_FORWARDED_FOR")<>"" then
response.write "<font color=#FF0000>您通过了代理服务器,"& _
真实的IP为"&Request.ServerVariables("HTTP_X_FORWARDED_FOR")
endif
%>

上一个:获取控件的绝对位置
下一个:几种常用排序算法(asp)

CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,