如何屏蔽ip留言
网站中的留言板,如何对某些ip进行屏蔽,禁止其发言,谢谢!!
[解决办法]
比如屏蔽的IP是strIP
if cstr(Server.Variables( "Remote_Addr "))=strIP then
Response.write "该ip被屏蔽 "
Response.end
end if
发布时间: 2012-03-26 15:46:55 作者: rapoo
如何屏蔽ip留言
网站中的留言板,如何对某些ip进行屏蔽,禁止其发言,谢谢!!
[解决办法]
比如屏蔽的IP是strIP
if cstr(Server.Variables( "Remote_Addr "))=strIP then
Response.write "该ip被屏蔽 "
Response.end
end if