Dim FilterURL(2),f,RefURL
FilterURL(0)="
FilterURL(1)="
RefURL=Request.ServerVariables("HTTP_REFERER")
For f=0 To Ubound(FilterURL)
if Instr(RefURL,FilterURL(i))=0 then
response.write "警告非法来路访问被拒绝"
response.end
End IF
Next
再试试
FilterURL(0)="
FilterURL(1)="
RefURL=Request.ServerVariables("HTTP_REFERER")
For f=0 To Ubound(FilterURL)
if Instr(RefURL,FilterURL(i))=0 then
response.write "警告非法来路访问被拒绝"
response.end
End IF
Next
再试试