«

»

Feb 23

Print this Post

Detect all Server Variables (detectAll)

Detects all request.servervariable values and displays in browser

Detectall
Detectall
detectall.zip
408.0 B
15 Downloads
Details

<html><head><title></title></head>

<%
response.write("REQUEST<br>")
for each item in request.querystring
	response.write("<b>" & item & "</b> = " & request(item) & "<br>")
next

response.write("<hr>")
response.write("REQUEST.FORM<br>")
for each item in request.form
	response.write("<b>" & item & "</b> = " & asc(request.form(item)) & " = " & request.form(item) & "<br>")
next

response.write("<hr>")
response.write("HEADERS<br>")
for each thing in request.servervariables
   tempvalue=request.servervariables(thing)
   response.write "<b>" & thing & "</b> = " & tempvalue & "<br>" 
next
%>

</body></html>

Permanent link to this article: https://www.wperry.net/code/detectall-server-variables/

Leave a Reply

Your email address will not be published. Required fields are marked *