asp限制域名访问实现代码
asp 设置只能指定域名可以使用此网站 代码一 软件开发网原创 <% myIp = ",127.0.0.1,localhost,www.jb51.net," myurl= request.ServerVariables("SERVER_NAME") Response.write myurl if InStr(myIp,","&myurl&",")>0 then Response.write "域名合法" else Response.write "域名不合法" end if %> 代码二 myIp = Array("127.0.0.1","jb51") myHou = new
用户评论