禁止某IP访问网站的ASP代码
[ 2007-11-05 00:28:07 | 作者:
Admin ]
字号:
大 |
中 |
小
<%
dim ip
ip=Request.ServerVariables("remote_addr")
if left(ip,11)="255.255.255.255" then
response.write("对不起,本站暂时关闭,请稍后访问..........")
response.end
end if
%>
评论Feed: http://www.85815.com/feed.asp?q=comment&id=18
引用链接: http://www.85815.com/trackback.asp?id=18
&key=