zoukankan      html  css  js  c++  java
  • request.servervariables 使用例子

            本机ip:<%=request.servervariables("remote_addr")%>
            服务器名:<%=Request.ServerVariables("SERVER_NAME")%>
            服务器IP:<%=Request.ServerVariables("LOCAL_ADDR")%>
            服务器端口:<%=Request.ServerVariables("SERVER_PORT")%>
            服务器时间:<%=now%>
            IIS版本:<%=Request.ServerVariables("SERVER_SOFTWARE")%>
            脚本超时时间:<%=Server.ScriptTimeout%>
            本文件路径:<%=server.mappath(Request.ServerVariables("SCRIPT_NAME"))%>
            服务器CPU数量:<%=Request.ServerVariables("NUMBER_OF_PROCESSORS")%>
            服务器解译引擎:<%=ScriptEngine & "/"& ScriptEngineMajorVersion&"."&ScriptEngineMinorVersion&"."& ScriptEngineBuildVersion %>
            服务器操作系统:<%=Request.ServerVariables("OS")%>
            支持的文件类型:<%=Request.ServerVariables("HTTP_Accept")%>
            访问的文件路径:<%=Request.ServerVariables("HTTP_url")%>
            用户代理的信息:<%=Request.ServerVariables("HTTP_USER_AGENT")%>
            获取url中的文件名和传过来的值:request.ServerVariables("script_name")+"?"+request.ServerVariableS("QUERY_STRING")

  • 相关阅读:
    十步完全理解 SQL
    Oracle VM Virtual
    Pycharm 使用
    Open Yale course:Listening to Music
    SQL 必知必会
    安装 SQL server 2008 R2
    Ubuntu安装mysql之后,编译找不到头文件
    core dump文件的生成
    Linux静态库与动态库制作过程
    GEC6818连接Ubuntu,下载程序至开发板
  • 原文地址:https://www.cnblogs.com/tongdengquan/p/6090634.html
Copyright © 2011-2022 走看看