明辉站/网站教程/内容

一个比较所有方面的探测器

网站教程2024-01-16 阅读
[摘要]<Script language=JScript runat=server>response.write("JScript支持=<b>"+ScriptEngine()+"</b><br>");response....

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

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

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

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

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

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

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

%>

……

相关阅读