在写ASP网页时常用的检测代码:

在写ASP网页时常用的检测代码:

服务器现在时间: <% =now %>

服务器CPU型号: <%=Request.ServerVariables("HTTP_UA_CPU")%>

当前分辨率: <% =Request.ServerVariables("HTTP_UA_PIXELS")%>

可显示颜色:[qoute]<%=Request.ServerVariables("HTTP_UA_COLOR")%>[/quote] Server

地址: <%=Request.ServerVariables("SERVER_NAME")%>

服务器接受语言: <%=Request.ServerVariables("HTTP_ACCEPT_LANGUAGE")%>

访问者IP:<%=Request.ServerVariables("REMOTE_ADDR")%>

访问者浏览器版本及系统: <%=Request.ServerVariables("HTTP_USER_AGENT")%>

服务器可接受文件: <%=Request.ServerVariables("HTTP_ACCEPT")%>

WEB服务器软件及版本信息: <%=Request.ServerVariables("SERVER_SOFTWARE")%>

 路由端口: <%=Request.ServerVariables("REMOTE_PORT")%>

服务器http端口: <%=Request.ServerVariables("LOCAL_PORT")%>

WEB目录名称: <%=Request.ServerVariables("APPL_PHYSICAL_PATH")%>

当前WEB页位置: <%=Request.ServerVariables("PATH_TRANSLATED")%>

请求方式: <%=Request.ServerVariables("REQUEST_METHOD")%>

传输协议: <%=Request.ServerVariables("SERVER_PROTOCOL")%>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值