coldfusion 如何限制IP登录阿?急

来源:百度知道 编辑:UC知道 时间:2024/05/11 02:25:24

急什么 其实很简单
限制IP登陆:
<CFIF #left(cgi.remote_addr,7)# is "192.168">
<!--- 你要显示的代码 --->
<cfelseif #left(cgi.remote_addr,7)# is not "192.168">
<CFlocation url = "http://www.yahoo.com">
</cfif>