Advertisement
ASP_Volume2 Coding Standards #42010

Get Server Variable Info

To gather all server variables, and display them nicely in a readable format.

AI

AI 요약: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

소스 코드
original-source
<TABLE WIDTH="100%" BORDER="1" CELLSPACING="0" CELLPADDING="0">
<%
'--Created by: Matthew J. Khoury
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>
원본 댓글 (3)
Wayback Machine에서 복구됨