当前位置:网站首页 - 特效代码 - ASP编程
  • <%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title>如何获取服务器信息</title>
    </head>
    <body>
    path_info返回:
    <%=Request.ServerVariables("path_info")%><br>
    remote_addr返回:
    <%=Request.ServerVariables("remote_addr")%><br>
    server_name返回:
    <%=Request.ServerVariables("server_name")%>
    </body>
    </html>