<title> the HTTP HeadERS detection </title> of thousand flowers flying
<body>
<table border=1>
<TR><TD valign=top><b> variable </B></td>
<TD valign=top><b> value </B></td></tr>
<% for each key in Request.ServerVariables%>
<tr>
<td><% = key%></td>
<td>
<%
If Request.ServerVariables (key) = "" Then
If getattribute (key) = "" Then
Response.Write ""
Else
Response.Write GetAttribute (Key)
End If
Else
Response.Write Request.ServerVariables (Key)
End If
Response.Write "</td>"
%>
</tr>
<% Next%>
</TABLE>
</body>
<%
Function getattribute (Attrname)
Dim Allattrs
Dim Realattrname
Dim Location
Dim result
Allattrs = Request.ServerVariables ("All_http")
Realattrname = Attrname
Location = InStr (Allattrs, Realattrname & ":")
If Location <= 0 Then
GetAttribute = ""
Exit Function
End If
result = Mid (Allattrs, Location + Len (realattrname) + 1)
Location = InStr (Result, Chr (10))
If Location <= 0 Then Location = Len (result) + 1
GetAttribute = Left (result, Location-1)
End Function
%>