导航

村夫日志

共享智慧 共同成长

简单的ASP页面限IP访问代码

若IP不是192.168.1.1,则转到网站首页,功能虽简单,但很实用。

<%

if request.servervariables("remote_host") <>"192.168.1.1" then 
REsponse.Redirect http://www.my3175.com
...

分页:[«]1[»]

Powered By Z-Blog .Theme from Google黑板报 By Washun

Copyright 2005 My3175.Com. Some Rights Reserved 浙ICP备05018325号
本站采用创作共用版权协议, 要求署名、非商业用途和保持一致. 转载本站内容必须也遵循“署名-非商业用途-保持一致”的创作共用协议
This site is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License.