A more comprehensive detector.

Source: Internet
Author: User
Tags servervariables
Compare <script Language=jscript runat=server>
Response.Write ("JScript Support =<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 "Response.Write "VBScript support =<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 "Servername=request.servervariables ("SERVER_NAME")
Response.Write "Server virtual path =<b>http://"
Response.Write ServerName & "</b> virtual path to your server!<br>"
Pathtranslated=request.servervariables ("path_translated")
Response.Write "Server absolute path =<b>"
Response.Write pathtranslated & "</b> Server absolute path <br>"

Response.Write "Serverport=request.servervariables ("Server_port")
Response.Write "Data request Port =<b>"
Response.Write ServerPort & "</b> data request Port <br>"

Response.Write "Remoteaddr=request.servervariables ("REMOTE_ADDR")
Response.Write "Your IP address =<b>"
Response.Write remoteaddr & "</b> your IP address <br>"

Response.Write "Set Tempconn=server.createobject ("Adodb.connection")
Response.Write "Data Object version =<b>"
Response.Write Tempconn.version & "</b> your Server database version!<br>"
Set tempconn=nothing

Response.Write "Serversoftware=request.servervariables ("Server_software")
Response.Write "Server version =<b>"
Response.Write ServerSoftware & "</b> Your server IIS version!<br>"

%>



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.