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")

  • 相关阅读:
    敲七
    二维指针数组**p
    食物链(待解决)
    蛇行矩阵
    快速排序 QuickSort
    堆排序
    猪的安家
    百度语言翻译机
    HTML <base> 标签
    免费网络管理流量监控软件大比拼
  • 原文地址:https://www.cnblogs.com/tongdengquan/p/6090634.html
Copyright © 2011-2022 走看看