Displaying Source Code(s)
|
|
Version Check
--------------------------------------------------------------------------------
Description : This checks what software you are using on your
server.
<%@ language=vbscript%>
<HTML>
<HEAD>
<TITLE>versioncheck.asp</TITLE>
</HEAD>
<body bgcolor="#FFFFFF">
<script language=jscript runat=server>
Response.Write ("scripting engine=<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>);
</script>
<%
Response.Write "<hr><BR>
Response.Write "scripting engine=<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><BR>
Set tempconn=Server.CreateObject("adodb.connection")
Response.Write "ado version=<b>"
Response.Write tempconn.version & "</b><BR>
Set tempconn=Nothing
Response.Write "<hr><BR>
serversoftware=Request.ServerVariables("server_software")
Response.Write "server software=<b>"
Response.Write serversoftware & "</b><BR>
Response.Write "Script Timeout = <b>" & Server.ScriptTimeout & "
seconds</b><BR>
Response.Write "Session Timeout = <b>" & Session.Timeout & "
minutes</b><BR>
%>
</BODY></HTML>
|
|
|