ASP中的常用服务器检测源码
在写ASP网页时常用的检测代码:
服务器现在时【xiàn zài shí】间⏬:
引用【yǐn yòng】📽
<% =now %>
服务器【fú wù qì】🔥CPU型号:
引用
<%=Request.ServerVariables("HTTP_UA_CPU")%>
当前分【dāng qián fèn】辨率㊗:
引用
<% =Request.ServerVariables("HTTP_UA_PIXELS")%>
可显示【kě xiǎn shì】颜色【yán sè】♐:[qoute]<%=Request.ServerVariables("HTTP_UA_COLOR")%>[/quote]
Server地址👽:
引用
<%=Request.ServerVariables("SERVER_NAME")%>
服务器🛬接受语【jiē shòu yǔ】言【yán】:
引用🔪
<%=Request.ServerVariables("HTTP_ACCEPT_LANGUAGE")%>
访问者🚠I:P
引用【yǐn yòng】
<%=Request.ServerVariables("REMOTE_ADDR")%>
访问者🥕浏览器【liú lǎn qì】版本及【bǎn běn jí】系统🍎:
引用
<%=Request.ServerVariables("HTTP_USER_AGENT")%>
服务器🐵可接受🥪文件【wén jiàn】:
引用【yǐn yòng】
<%=Request.ServerVariables("HTTP_ACCEPT")%>
WEB服务器【fú wù qì】软件及【ruǎn jiàn jí】🥡版本信息📲:
引用
<%=Request.ServerVariables("SERVER_SOFTWARE")%>
路由端💠口:
引用【yǐn yòng】
<%=Request.ServerVariables("REMOTE_PORT")%>
服务器🛏http端口:
引用【yǐn yòng】
<%=Request.ServerVariables("LOCAL_PORT")%>
WEB目录名称【chēng】:
引用🧞
<%=Request.ServerVariables("APPL_PHYSICAL_PATH")%>
当前WEB页位置:
引用【yǐn yòng】🕓
<%=Request.ServerVariables("PATH_TRANSLATED")%>
请求方式【shì】:
引用😗
<%=Request.ServerVariables("REQUEST_METHOD")%>
传输协议:
引用【yǐn yòng】⛵
<%=Request.ServerVariables("SERVER_PROTOCOL")%>
关键词:ASP,服务器检测源码
阅读本文后您有什么感想? 已有 人给出评价!
- 0
- 0
- 0
- 0
- 0
- 0