📄 admin_server.asp
字号:
<!--#include file="config.asp"-->
<%
dim founderr,errmsg
founderr=false
errmsg=""
if session("adminlogin")<>sessionvar then
founderr=true
errmsg=errmsg+"<br>"+"<li>你尚未登录,或者超时了!请<a href='index.asp'>重新登录</a>!"
call diserror()
response.end
end if
if session("flag")>1 then
errmsg=errmsg+"<br>"+"<li>你的管理权限不够!!</a>!"
call diserror()
response.end
end if
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) = ""&fsoset&""
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"
%>
<html>
<head>
<title>管理中心</title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK REL="stylesheet" HREF="css.css" TYPE="text/css">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" MARGINHEIGHT="0"><script>if(top==self)top.location="index.asp" </script>
<br>
<table width="96%" border="1" align="center" cellpadding="1" cellspacing="0" bordercolor="#0099CF" bgcolor="#ffffff" style="border-collapse: collapse">
<tr bgcolor="#0099CF">
<td height="25" colspan="2" align="center"><b>服 务 器 变 量 信 息 </b>
</td>
</tr>
<tr>
<td width="29%" height="25">显示客户发出的所有HTTP标题</td>
<td width="71%" height="25"><%=request.ServerVariables("All_Http")%></td>
</tr>
<tr>
<td width="29%" height="25">检取ISAPIDLL的metabase路径</td>
<td width="71%" height="25"><%=request.ServerVariables("APPL_MD_PATH")%></td>
</tr>
<tr>
<td width="29%" height="25">显示站点物理路径</td>
<td width="71%" height="25"><%=request.ServerVariables("APPL_PHYSICAL_PATH")%></td>
</tr>
<tr>
<td width="29%" height="25">路径信息</td>
<td width="71%" height="25"><%=request.ServerVariables("PATH_INFO")%></td>
</tr>
<tr>
<td width="29%" height="25">显示请求机器IP地址</td>
<td width="71%" height="25"><%=request.ServerVariables("REMOTE_ADDR")%></td>
</tr>
<tr>
<td width="29%" height="25">服务器IP地址</td>
<td width="71%" height="25"><%=Request.ServerVariables("LOCAL_ADDR")%></td>
</tr>
<tr>
<td width="29%" height="25">显示执行SCRIPT的虚拟路径</td>
<td width="71%" height="25"><%=request.ServerVariables("SCRIPT_NAME")%> </td>
</tr>
<tr>
<td width="29%" height="25">返回服务器的主机名,DNS别名,或IP地址</td>
<td width="71%" height="25"><%=request.ServerVariables("SERVER_NAME")%></td>
</tr>
<tr>
<td width="29%" height="25">返回服务器处理请求的端口</td>
<td width="71%" height="25"><%=request.ServerVariables("SERVER_PORT")%></td>
</tr>
<tr>
<td width="29%" height="25">协议的名称和版本</td>
<td width="71%" height="25"><%=request.ServerVariables("SERVER_PROTOCOL")%></td>
</tr>
<tr>
<td width="29%" height="25">服务器的名称和版本</td>
<td width="71%" height="25"><%=request.ServerVariables("SERVER_SOFTWARE")%></td>
</tr>
<tr>
<td width="29%" height="25">服务器操作系统</td>
<td width="71%" height="25"><%=Request.ServerVariables("OS")%></td>
</tr>
<tr>
<td width="29%" height="25">脚本超时时间</td>
<td width="71%" height="25"><%=Server.ScriptTimeout%> 秒</td>
</tr>
<tr>
<td width="29%" height="25">服务器CPU数量</td>
<td width="71%" height="25"><%=Request.ServerVariables("NUMBER_OF_PROCESSORS")%> 个</td>
</tr>
<tr>
<td width="29%" height="25">服务器解译引擎</td>
<td width="71%" height="25"><%=ScriptEngine & "/"& ScriptEngineMajorVersion &"."&ScriptEngineMinorVersion&"."& ScriptEngineBuildVersion %></td>
</tr>
</table>
<br>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -