一个比较全面的探测器

80酷酷网    80kuku.com

  比较<Script language=JScript runat=server>
response.write("JScript支持=<b>"+ScriptEngine()+"</b>
");
response.write("buildversion=<b>"+ScriptEngineBuildVersion()+"</b>
");
response.write("majorversion=<b>"+ScriptEngineMajorVersion()+"</b>
");
response.write("minorversion=<b>"+ScriptEngineMinorVersion()+"</b>");
</Script>

<%
response.write"<hr>"
response.write"VBScript支持=<b>" & Scriptengine() & "</b>
"
response.write"buildversion=<b>" & Scriptenginebuildversion() & "</b>
"
response.write"majorversion=<b>" & Scriptenginemajorversion() & "</b>
"
response.write"minorversion=<b>" & Scriptengineminorversion() & "</b>
"

response.write"<hr>"
servername=request.servervariables("server_name")
response.write"服务器虚拟路径=<b>http://"
response.write servername & "</b>    你服务器的虚拟路径!
"
pathtranslated=request.servervariables("path_translated")
response.write"服务器绝对路径=<b>"
response.write pathtranslated & "</b>    服务器绝对路径
"

response.write"<hr>"
serverport=request.servervariables("server_port")
response.write"数据请求端口=<b>"
response.write serverport & "</b>    数据请求端口
"

response.write"<hr>"
remoteaddr=request.servervariables("remote_addr")
response.write"您的IP地址=<b>"
response.write remoteaddr & "</b>    你的IP地址
"

response.write"<hr>"
set tempconn=server.createobject("adodb.connection")
response.write"数据对象版本=<b>"
response.write tempconn.version & "</b>    你服务器数据库版本!
"
set tempconn=nothing

response.write"<hr>"
serversoftware=request.servervariables("server_software")
response.write"服务器版本=<b>"
response.write serversoftware & "</b>    你服务器iis版本!
"

%>

分享到
  • 微信分享
  • 新浪微博
  • QQ好友
  • QQ空间
点击: