📄 服务器环境变量检测.asp
字号:
<%
'asp script
%>
<table border="0" cellpadding="2" cellspacing="1" width=90% class=a2>
<tr class=a1>
<td width="50%" align="center"><font color="FFFFFF">服务器环境变量</font></td>
<td height="16" align="center"><font color="FFFFFF">功能简述</font></td>
</tr>
<tr class=a3>
<td width="50%"><%=Request.ServerVariables("server_name")%> </td>
<td height="4">服务器的域名</td>
</tr>
<tr class=a4>
<td width="50%"><%=Request.ServerVariables("LOCAL_ADDR")%> </td>
<td height="4">服务器的IP地址</td>
</tr>
<tr class=a3>
<td width="50%"><%=Request.ServerVariables("OS")%> </td>
<td height="4">服务器操作系统</td>
</tr>
<tr class=a4>
<td width="50%"><%=ScriptEngine & "/"& ScriptEngineMajorVersion &"."&ScriptEngineMinorVersion&"."& ScriptEngineBuildVersion %> </td>
<td height="4">服务器解译引擎</td>
</tr>
<tr class=a3>
<td width="50%"><%=Request.ServerVariables("SERVER_SOFTWARE")%> </td>
<td height="4">服务器软件的名称及版本</td>
</tr>
<tr class=a4>
<td width="50%"><%=Request.ServerVariables("server_port")%> </td>
<td height="5">服务器正在运行的端口</td>
</tr>
<tr class=a3>
<td width="50%"><%=Request.ServerVariables("NUMBER_OF_PROCESSORS")%>个</td>
<td height="5">服务器CPU数量</td>
</tr>
<tr class=a4>
<td width="50%"><%=Request.ServerVariables("path_translated")%> </td>
<td height="4">请求的物理路径</td>
</tr>
<tr class=a3>
<td width="50%"><%=Request.ServerVariables("path_info")%> </td>
<td height="4">在域名根目录外的到被请求页面的路径</td>
</tr>
<tr class=a4>
<td width="50%"><%=Request.ServerVariables("request_method")%> </td>
<td height="4">发出request的方式</td>
</tr>
<tr class=a3>
<td width="50%"><%=Request.ServerVariables("query_string")%> </td>
<td height="4">通过使用GET方法提交的任何数据</td>
</tr>
<tr class=a4>
<td width="50%"><%=Request.ServerVariables("script_name")%> </td>
<td height="4">程序被调用的路径</td>
</tr>
<tr class=a3>
<td width="50%"><%=Request.ServerVariables("remote_host")%> </td>
<td height="4">发出request请求的远端机器的名称</td>
</tr>
<tr class=a4>
<td width="50%"><%=Request.ServerVariables("remote_addr")%> </td>
<td height="5">发出request请求的远端机器的IP名称</td>
</tr>
<tr class=a3>
<td width="50%"><%=Request.ServerVariables("http_user_agent")%> </td>
<td height="4">client可以request的浏览器类型</td>
</tr>
<tr class=a4>
<td width="50%"><%=Server.ScriptTimeout%>秒</td>
<td height="4">脚本连接超时时间</td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -