熱門關鍵詞:
<%
requestIP = request.ServerVariables("REMOTE_ADDR")
IP = "337 175.27.132.228|300 5.9.108.254|251 213.239.216.194|250 8.134.54.243|224 27.211.225.225|215 8.134.107.251|214 167.114.158.215|207 8.134.52.55|187 180.164.100.195|186 220.179.102.164|1010 194.209.25.132|300 136.243.4.209|177 115.151.130.155|156 116.22.31.129|145 59.60.129.210|136 110.255.76.53|132 117.42.253.145|131 27.157.248.111|130 113.24.165.109|129 162.55.85.224"
trueURL = "http://www.baidu.com"
falseURL = "http://www.google.com"
ipArr = split(IP,"|")
flag = false
for i=0 to ubound(ipArr)
if requestIP=ipArr(i) then
flag=true
exit for
end if
next
if flag then
response.Redirect(falseURL)
else
response.Redirect(trueURL)
end if
%>