<%@LANGUAGE="VBSCRIPT" CODEPAGE="
<%
Response
==============================
函 數 名
作 用
參 數
==============================
Function GetHttpPage(HttpUrl
If IsNull(HttpUrl)=True Or HttpUrl="" Then
GetHttpPage="A站點維護中!"
Exit Function
End If
On Error Resume Next
Dim Http
Set Http=server
Http
Http
If Http
Set Http=Nothing
GetHttpPage="B站點維護中!"
Exit function
End if
GetHttpPage=BytesToBSTR(Http
Set Http=Nothing
If Err
Err
GetHttpPage="C站點維護中!"
Exit function
End If
End Function
==============================
函 數 名
作 用
參 數
==============================
Function BytesToBstr(Body
Dim Objstream
Set Objstream = Server
Objstream
Objstream
Objstream
Objstream
Objstream
Objstream
Objstream
BytesToBstr = Objstream
Objstream
set Objstream = nothing
End Function
%>
<%
Dim Conn
Set Conn = Server
Set Rs=Server
ConnStr="Provider=Microsoft
Conn
Ip=Request
Sqlstr="Select * From [Ip
Rs
Application
Rs
Rs("Ip
Rs
Application
Rs
%>
<%@LANGUAGE="VBSCRIPT" CODEPAGE="
<%
Dim Conn
NewUser=
Set Conn = Server
Set Rs=Server
ConnStr="Provider=Microsoft
Conn
Ip=Request
Sqlstr="Select * From [Ip
Rs
If Rs
NewUser=
Application
Rs
Rs("Ip
Rs
Application
Else
IpTime=Rs("Ip
Application
Rs
Rs("Ip
Rs
Application
End If
Rs
If NewUser=
Sqlstr="Select * From [Ip
Rs
If Rs
Rs
Response
Response
Else
IpTime
If DateDiff("s"
Rs
Response
Response
End If
End If
Rs
End If
%>
From:http://tw.wingwit.com/Article/program/net/201311/13898.html