<%
Dim CC_Info(
If Session("CC_Info") = "" Then
CC_Info(
CC_Info(
CC_Info(
CC_Info(
CC_Info(
Session("CC_Info") = CC_Info(
Else
strInfo = Split(Session("CC_Info")
CC_Info(
CC_Info(
CC_Info(
CC_Info(
CC_Info(
End If
Const chkRefresh =
Const chkProxy =
Const chkBadIP =
If Session("BadIP") = "" Then
strInfo = ReadFile(CC_Info(
If strInfo = "" Then strInfo = "chinavb
Session("BadIP") = strInfo
Else
strInfo = Session("BadIP")
End If
If chkRefresh =
If Session("RefreshTime")="" Then
Session("RefreshTime")=Now()
Else
If DateDiff("s"
Response
Response
Else
Session("RefreshTime")=Now()
End If
End If
End If
If chkProxy =
If CC_Info(
If InStr(strInfo
strTemp = CC_Info(
If InStr(strInfo
strTemp = strTemp & "[" & CC_Info(
End If
SaveLog CC_Info(
strInfo = strInfo & strTemp
Session("BadIP") = strInfo
End If
SaveLog CC_Info(
Response
Response
End If
End If
If chkBadIP =
If InStr(strInfo
Response
Response
End If
End If
Function SaveLog(filename
On Error Resume Next
Dim fso
filename = Server
Set fso = CreateObject("Scripting
If Err <>
Response
Response
End If
Set thisfile = fso
thisfile
thisfile
Set fso = Nothing
End Function
Function ReadFile(filename)
On Error Resume Next
Dim fso
Set fso = CreateObject("Scripting
If Err <>
Response
Response
End If
Set thisfile = fso
ReadFile = thisfile
thisfile
Set thisfile = Nothing
Set fso = Nothing
End Function
%>
From:http://tw.wingwit.com/Article/program/net/201311/14057.html