查看所有的Server Variables的环境变量

所属分类: 网络编程 / ASP编程 阅读数: 959
收藏 0 赞 0 分享
下列代码保存为ASP文件就可以了

<table border=0 cellpadding=0 cellspacing=1 bgcolor="#d0c0F0">
<tr>
    <td><table border=0 cellpadding=3 cellspacing=0 bgcolor="#F0F0F8">
        <tR bgcolor="#d0c0f0">
         <td><b>Variable Name</b></td>
         <td><b>Value</b></td>
        </tr>
        <%
        With response
            For Each sKey In Request.ServerVariables
                .Write "<tR>" & vbCrLf
                .Write vbTab & "<td valign=""top""><b>" & sKey & "</b></td>" & vbCrLf
                .Write vbTab & "<td>" & Request.ServerVariables(sKey) & "</td>" & vbCrLf
                .Write "</tR>" & vbCrLf
            Next
        End With
        %>
     </table></td>
</tr>
</table>
更多精彩内容其他人还在看

asp中去除内容HTML标签的三个function函数

asp中去除内容HTML标签的三个function函数
收藏 0 赞 0 分享

chr(9)、chr(10)、chr(13)、chr(32)、chr(34)讲解

chr(9)、chr(10)、chr(13)、chr(32)、chr(34)讲解
收藏 0 赞 0 分享

方便的大家admin及admin888 经过 md5加密后16位和32位代码

方便的大家admin及admin888 经过 md5加密后16位和32位代码
收藏 0 赞 0 分享

可用的ASP无重复数字随机函数, 数组实现, 并应用于随机显示记录集

可用的ASP无重复数字随机函数, 数组实现, 并应用于随机显示记录集
收藏 0 赞 0 分享

asp动态级联菜单代码

asp动态级联菜单代码
收藏 0 赞 0 分享

ASP中经常使用的SQL语句与教程说明

ASP中经常使用的SQL语句与教程说明
收藏 0 赞 0 分享

实例分析之用ASP编程实现网络内容快速查找的代码

实例分析之用ASP编程实现网络内容快速查找的代码
收藏 0 赞 0 分享

服务端 VBScript 与 JScript 几个相同特性的写法与示例

服务端 VBScript 与 JScript 几个相同特性的写法与示例
收藏 0 赞 0 分享

ASP 环境下 VBS 事件应用 示例代码

ASP 环境下 VBS 事件应用 示例代码
收藏 0 赞 0 分享

asp 之上传漏洞终结篇

asp 之上传漏洞终结篇
收藏 0 赞 0 分享
查看更多