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

📄 admin_server.asp

📁 5237 论坛.rar
💻 ASP
字号:
<!--#include file="Inc/Level012.asp" -->
<!--#include file="Connections/connY.asp" -->
<!--#include file="Inc/Info.asp" -->
<!--#include file="Inc/TimeFormat.asp" -->
<!--#include file="Inc/UBBCode.asp" -->
<!--#include file="Inc/SetCss.asp" -->
<html>
<head>
<title><%=Forum_Title%></title>
<meta http-equiv="Content-Type" content="text/html;">
<meta http-equiv="Expires" CONTENT="0">
<meta http-equiv="Cache-Control" CONTENT="no-cache">
<meta http-equiv="Pragma" CONTENT="no-cache">
<!--#include file="Inc/Css.asp" -->
<script language=Javascript src="Js/Menu.Js"></script>
<script language=Javascript src="Js/Button.Js"></script>
<script language=Javascript src="Js/Operate.Js"></script>
</head>
<body leftmargin="0" topmargin="0" bgcolor="<%=Forum_ColorList_BgColor%>" vlink="<%=Forum_Css_A_Link_Color%>" onLoad="MM_preloadImages('<%=Forum_Pic_Write2%>','<%=Forum_Pic_Vote2%>')">
<!--#include file="Inc/Top.asp" -->
<table width="<%=Forum_Width%>" border="0" cellspacing="1" cellpadding="0" align="center" bgcolor="<%=Forum_ColorList_BorderColor%>">
  <tr> 
    <td height="20" bgcolor="<%=Forum_ColorList_BgColor%>"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="font">
        <tr> 
          <td>&nbsp;您所在的位置: <a href="../" onfocus="this.blur()">首页</a> &gt;&gt; 
            <a href="List.asp" onFocus="this.blur()">讨论组</a> &gt;&gt; <font color="<%=Forum_ColorList_NavFontColor%>">论坛管理系统</font></td>
          <td width="18"> 
            <div align="center"></div>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table width="<%=Forum_Width%>" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td height=1></td>
  </tr>
</table>
<table width="<%=Forum_Width%>" border="0" cellspacing="1" cellpadding="2" align="center" bgcolor="<%=Forum_ColorList_BorderColor%>" class="font">
  <tr> 
    <td valign="top" width="102" bgcolor="<%=Forum_ColorList_BgColor%>"> 
      <table width="100%" border="0" cellspacing="1" cellpadding="0">
        <tr>
		<td>
          <!--#include file="Inc/Menu.asp" -->
		</td>
        </tr>
      </table>
    </td>
    <td bgcolor="<%=Forum_ColorList_BgColor%>" valign="top"> <br>
        <table width="80%" border="0" cellspacing="1" cellpadding="2" align="center" class="font" bgcolor="<%=Forum_ColorList_BorderColor%>">
          <tr> 
            
          <td bgcolor="<%=Forum_ColorList_TitleColor%>" height="20"> 服务器探针</td>
          </tr>
          <tr> 
            
          <td bgcolor="<%=Forum_ColorList_BgColor%>" valign="top"> 1. 显示服务器支持的组件以及相关服务器信息.<br>
            ------------------------------------------------------------------------------- 
            <br>
            <%
			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
			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"
			%>
            <font color="<%=TableContentColor%>"><b>服务器信息:</b></font>
            <table width="100%" border="0" cellspacing="1" cellpadding="0" class="font">
              <tr>
                <td width="55%"><font color="<%=TableContentColor%>">检取ISAPIDLL的metabase路径</font></td>
                <td><font color="<%=TableContentColor%>"><%=request.ServerVariables("APPL_MD_PATH")%></font></td>
              </tr>
              <tr>
                <td width="55%">显示站点物理路径: </td>
                <td><font color="<%=TableContentColor%>"><%=request.ServerVariables("APPL_PHYSICAL_PATH")%></font></td>
              </tr>
              <tr>
                <td width="55%">路径信息:</td>
                <td><font color="<%=TableContentColor%>"><%=request.ServerVariables("PATH_INFO")%></font></td>
              </tr>
              <tr>
                <td width="55%">显示请求机器IP地址:</td>
                <td><font color="<%=TableContentColor%>"><%=request.ServerVariables("REMOTE_ADDR")%></font></td>
              </tr>
              <tr>
                <td width="55%">服务器IP地址:</td>
                <td><font color="<%=TableContentColor%>"><%=Request.ServerVariables("LOCAL_ADDR")%></font></td>
              </tr>
              <tr>
                <td width="55%">显示执行SCRIPT的虚拟路径: </td>
                <td><font color="<%=TableContentColor%>"><%=request.ServerVariables("SCRIPT_NAME")%></font></td>
              </tr>
              <tr>
                <td width="55%">返回服务器的主机名,DNS别名,或IP地址:</td>
                <td><font color="<%=TableContentColor%>"><%=request.ServerVariables("SERVER_NAME")%></font></td>
              </tr>
              <tr>
                <td width="55%">返回服务器处理请求的端口: </td>
                <td><font color="<%=TableContentColor%>"><%=request.ServerVariables("SERVER_PORT")%></font></td>
              </tr>
              <tr>
                <td width="55%">协议的名称和版本: </td>
                <td><font color="<%=TableContentColor%>"><%=request.ServerVariables("SERVER_PROTOCOL")%></font></td>
              </tr>
              <tr>
                <td width="55%">服务器的名称和版本:</td>
                <td><font color="<%=TableContentColor%>"><%=request.ServerVariables("SERVER_SOFTWARE")%></font></td>
              </tr>
              <tr>
                <td width="55%">服务器操作系统:</td>
                <td><font color="<%=TableContentColor%>"><%=Request.ServerVariables("OS")%></font></td>
              </tr>
              <tr>
                <td width="55%">脚本超时时间:</td>
                <td><font color="<%=TableContentColor%>"><%=Server.ScriptTimeout%> 
                  </font>秒</td>
              </tr>
              <tr>
                <td width="55%">服务器CPU数量:</td>
                <td><font color="<%=TableContentColor%>"><%=Request.ServerVariables("NUMBER_OF_PROCESSORS")%> 
                  个</font></td>
              </tr>
              <tr>
                <td width="55%">服务器解译引擎:</td>
                <td><font color="<%=TableContentColor%>"><%=ScriptEngine & "/"& ScriptEngineMajorVersion &"."&ScriptEngineMinorVersion&"."& ScriptEngineBuildVersion %></font></td>
              </tr>
            </table>
            <br>
            <font color="<%=TableContentColor%>"><b>组件支持情况:</b></font>
			<table border=0 width="100%" cellspacing=1 cellpadding=0 class=font>
	<tr height=22>
	<td width="70%">自 带 组 件</td><td width="15%">支 持</td><td width="15%">不支持</td>
	</tr>
    <%
    dim i
    For i=0 to 10
      Response.Write "<tr><td>" & theInstalledObjects(i) & "<font color='"&Forum_ColorList_UFontColor&"'>&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='"&Forum_ColorList_PFontColor&"'>&nbsp;&nbsp;<b>×</b></font></td>"
      Else
        Response.Write "<td>&nbsp;&nbsp;<b>√</b></td><td></td>"
      End If
      Response.Write "</TR>" & vbCrLf
    Next
    %>
	</table>
	<table border=0 width="100%" cellspacing=1 cellpadding=0 class=font>
	<tr height=22>
	<td width="70%">外 部 名 称</td><td width="15%"></td><td width="15%"></td>
	</tr>
    <%
      For i=11 to UBound(theInstalledObjects)
      Response.Write "<TR><TD align=left>" & theInstalledObjects(i) & "<font color='"&Forum_ColorList_UFontColor&"'>&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='"&Forum_ColorList_PFontColor&"'>&nbsp;&nbsp;<b>×</b></font></td>"
      Else
        Response.Write "<td>&nbsp;&nbsp;<b>√</b></td><td></td>"
      End If

      Response.Write "</TR>" & vbCrLf
    Next
    %>
	</table>
			<br>
          </td>
          </tr>
        </table>
        <div align="center"><br>
      </div>
      <div align="center"></div>
    </td>
  </tr>
</table>
<!--#include file="Inc/Bottom.asp" -->
</body>
</html>

⌨️ 快捷键说明

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