Displaying Source Code(s)
|
|
Server Variables
--------------------------------------------------------------------------------
Description : This will list all server variables in a page
<!DOCTYPE HTML Public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Untitled</title>
</head>
<body>
<TABLE WIDTH="100%" BORDER="1" CELLSPACING="0" CELLPADDING="0">
<%
Dim strSV, intRowColor
For Each strSV In Request.ServerVariables
If intRowColor = 0 Then
Response.Write "<TR bgcolor=""#ddddfc"">"
intRowColor = 1
Else
Response.Write "<TR bgcolor=""#ffffff"">"
intRowColor = 0
End If
Response.Write "<TD> " & strSV & "=" &
Request.ServerVariables(strSV) & "</TD></TR>"
Next
%>
</TABLE>
</body>
</html> |
|
|