⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 serverinfo.asp

📁 mlm双轨制直销系统V8.0免费版 可用于: 1、直拨、回拨电话卡公司。 2、保健品、药品公司。 3、在线销售商品等等。 4、其他类型用到双轨制模式的线上开盘公司。
💻 ASP
字号:
<BODY topMargin=0 leftmargin="0" marginheight="0">
<link rel="stylesheet" type="text/css" href="include/e1.css">
<%
Dim theInstalledObjects(17)
theInstalledObjects(0) ="MSWC.AdRotator"
theInstalledObjects(1) ="MSWC.BrowserType"
theInstalledObjects(2) ="MSWC.NextLink"
theInstalledObjects(3) ="MSWC.Tools"
theInstalledObjects(4) ="MSWC.Status"
theInstalledObjects(5) ="MSWC.Counters"
theInstalledObjects(6) ="IISSample.ContentRotator"
theInstalledObjects(7) ="IISSample.PageCounter"
theInstalledObjects(8) ="MSWC.PermissionChecker"
theInstalledObjects(9) ="Scripting.FileSystemObject"
theInstalledObjects(10) ="adodb.connection"
theInstalledObjects(11) ="SoftArtisans.FileUp"
theInstalledObjects(12) ="SoftArtisans.FileManager"
theInstalledObjects(13) ="JMail.SMTPMail"
theInstalledObjects(14) ="CDONTS.NewMail"
theInstalledObjects(15) ="Persits.MailSender"
theInstalledObjects(16) ="LyfUpload.UploadFile"
theInstalledObjects(17) ="Persits.Upload.1"
call main()
sub main()
%>
<table cellpadding=0 cellspacing=0 border=0 width=100% align=center>
<tr>
<td>
<table cellpadding=3 cellspacing=1 border=0 width=100%>
<tr bgcolor=<%=tablebodycolor%>>
<td width="100%" valign=top><%call servervar()%></font></td>
</tr>
</table>
</td>
</tr>
</table>
<%
end sub
sub servervar()
%>
 <table align="center" bgcolor="#AAAAAA" border="0" cellpadding="0" cellspacing="0" width="90%"><tr><td>
<table width="100%" border="0" cellspacing="1" cellpadding="5">
<tr> 
<td height=28 colspan="2" bgcolor="CCDDEE"><b>服务器有关的变量</b></td>
</tr>
<tr> 
<td width="30%" valign=top bgcolor="#ffffff">检取ISAPIDLL的metabase路径</td>
<td width="70%" bgcolor="#ffffff"><%=request.ServerVariables("APPL_MD_PATH")%></td>
</tr>
<tr> 
<td width="30%" valign=top bgcolor="#ffffff">显示站点物理路径</td>
<td width="70%" bgcolor="#ffffff"><%=request.ServerVariables("APPL_PHYSICAL_PATH")%></td>
</tr>
<tr> 
<td width="30%" valign=top bgcolor="#ffffff">路径信息</td>
<td width="70%" bgcolor="#ffffff"><%=request.ServerVariables("PATH_INFO")%></td>
</tr>
<tr> 
<td width="30%" valign=top bgcolor="FFFFFF">显示请求机器IP地址</td>
<td width="70%" bgcolor="FFFFFF"><%=request.ServerVariables("REMOTE_ADDR")%></td>
</tr>
<tr> 
<td width="30%" valign=top bgcolor="FFFFFF">服务器IP地址</td>
<td width="70%" bgcolor="FFFFFF"><%=Request.ServerVariables("LOCAL_ADDR")%></td>
</tr>
<tr> 
<td width="30%" valign=top bgcolor="FFFFFF">显示执行SCRIPT的虚拟路径</td>
<td width="70%" bgcolor="FFFFFF"><%=request.ServerVariables("SCRIPT_NAME")%></td>
</tr>
<tr> 
<td width="30%" valign=top bgcolor="FFFFFF">返回服务器的主机名,DNS别名,或IP地址</td>
<td width="70%" bgcolor="FFFFFF"><%=request.ServerVariables("SERVER_NAME")%></td>
</tr>
<tr> 
<td width="30%" valign=top bgcolor="FFFFFF">返回服务器处理请求的端口</td>
<td width="70%" bgcolor="FFFFFF"><%=request.ServerVariables("SERVER_PORT")%></td>
</tr>
<tr> 
<td width="30%" valign=top bgcolor="FFFFFF">协议的名称和版本</td>
<td width="70%" bgcolor="FFFFFF"><%=request.ServerVariables("SERVER_PROTOCOL")%></td>
</tr>
<tr> 
<td width="30%" valign=top bgcolor="FFFFFF">服务器的名称和版本</td>
<td width="70%" bgcolor="FFFFFF"><%=request.ServerVariables("SERVER_SOFTWARE")%></td>
</tr>
<tr> 
<td width="30%" valign=top bgcolor="FFFFFF">服务器操作系统</td>
<td width="70%" bgcolor="FFFFFF"><%=Request.ServerVariables("OS")%></td>
</tr>
<tr> 
<td width="30%" valign=top bgcolor="FFFFFF">脚本超时时间</td>
<td width="70%" bgcolor="FFFFFF"><%=Server.ScriptTimeout%>秒</td>
</tr>
<tr> 
<td width="30%" valign=top bgcolor="FFFFFF">服务器CPU数量</td>
<td width="70%" bgcolor="FFFFFF"><%=Request.ServerVariables("NUMBER_OF_PROCESSORS")%>个</td>
</tr>
<tr> 
<td width="30%" valign=top bgcolor="FFFFFF">服务器解译引擎</td>
<td width="70%" bgcolor="FFFFFF"><%=ScriptEngine & "/"& ScriptEngineMajorVersion &"."&ScriptEngineMinorVersion&"."& ScriptEngineBuildVersion %></td>
</tr>
<tr> 
<td height=28 colspan="2" bgcolor="CCDDEE"><b>组件支持情况</b></td>
</tr>
<tr bgcolor="#FFFFFF"> 
<td height=20 colspan="2">
<%
Dim strClass
strClass = Trim(Request.Form("classname"))
If "" <> strClass then
Response.Write "<br>您指定的组件的检查结果:"
If Not IsObjInstalled(strClass) then 
Response.Write "<br><font color=red>很遗憾,该服务器不支持" & strclass & "组件!</font>"
Else
Response.Write "<br><font color=green>恭喜!该服务器支持" & strclass & "组件。</font>"
End If
Response.Write "<br>"
end if
%></font>
</td>
</tr>
<tr bgcolor="#FFFFFF"> 
    <td height=20 colspan="2"><b>&nbsp;&nbsp;<img src="Image/icon_l.gif" width="11" height="11">IIS自带组件</b></font></td>
</tr>
<tr bgcolor="#FFFFFF"> 
<td height=20 colspan="2"> <font color="<%=TableContentColor%>">
<table border=0 width="95%" cellspacing=1 cellpadding=0>
<tr height=22 align=center>
<td width="70%"><font color="<%=TableContentColor%>">组 件 名 称</font></td><td width="15%"><font color="<%=TableContentColor%>">支 持</font></td><td width="15%"><font color="<%=TableContentColor%>">不支持</font></td>
</tr>
<%
dim i
For i=0 to 10
Response.Write "<TR align=center height=22><TD align=left>&nbsp;" & theInstalledObjects(i) & "<font color=#888888>&nbsp;"
select case i
case 9
Response.Write "(FSO 文本文件读写)"
case 10
Response.Write "(ACCESS 数据库)"
end select
Response.Write "</font></td>"
If Not IsObjInstalled(theInstalledObjects(i)) Then 
Response.Write "<td></td><td><font color=red><b>×</b></font></td>"
Else
Response.Write "<td><b>√</b></td><td></td>"
End If
Response.Write "</TR>" & vbCrLf
Next
%>
</table>
</td>
</tr>
<tr bgcolor="#FFFFFF"> 
    <td height=20 colspan="2"> <font color="<%=TableContentColor%>"><b>&nbsp;&nbsp;<img src="Image/icon_l.gif" width="11" height="11">其他常见组件</font></b> 
    </td>
</tr>
<tr bgcolor="#FFFFFF"> 
<td height=20 colspan="2"> 
<table border=0 width="95%" cellspacing=1 cellpadding=0>
<tr height=22 align=center>
<td width="70%"><font color="<%=TableContentColor%>">组 件 名 称</font></td><td width="15%"><font color="<%=TableContentColor%>">支 持</font></td><td width="15%"><font color="<%=TableContentColor%>">不支持</font></td>
</tr>
<%
For i=11 to UBound(theInstalledObjects)
Response.Write "<TR align=center height=18 bgcolor='#FFFFFF'><TD align=left>&nbsp;" & theInstalledObjects(i) & "<font color=#888888>&nbsp;"
select case i
case 11
Response.Write "(SA-FileUp 文件上传)"
case 12
Response.Write "(SA-FM 文件管理)"
case 13
Response.Write "(JMail 邮件发送)"
case 14
Response.Write "(CDONTS 邮件发送 SMTP Service)"
case 15
Response.Write "(ASPEmail 邮件发送)"
case 16
Response.Write "(LyfUpload 文件上传)"
case 17
Response.Write "(ASPUpload 文件上传)"
end select
Response.Write "</font></td>"
If Not IsObjInstalled(theInstalledObjects(i)) Then 
Response.Write "<td></td><td><font color=red><b>×</b></font></td>"
Else
Response.Write "<td><b>√</b></td><td></td>"
End If
Response.Write "</TR>" & vbCrLf
Next
%>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="3" cellpadding="0">
<tr bgcolor="#e8f4ff"> 
<td colspan="2" height=28></td>
</tr>
</table>
</td>
  </tr>
</table>
<%
end sub
Function IsObjInstalled(strClassString)
On Error Resume Next
IsObjInstalled = False
Err = 0
Dim xTestObj
Set xTestObj = Server.CreateObject(strClassString)
If 0 = Err Then IsObjInstalled = True
Set xTestObj = Nothing
Err = 0
End Function
%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -