HTTP Examples: Utility to Test Query String

This example shows the contents of the query string read by a cgi. This function looks at both GET and POST methods and assembles them into a form hash (associative array).

Keywords: example utility to test query string

Test links
1) test_query_string.htm?a=1&b=2&c=3 (URL QUERY STRING)

2)

3)

FORM

--foo--
foo =

ENV


request_uri = /examples/test_query_string.htm
semi = ;
jsnl = \n
hostname = fw09
step = html
spc =
http = http://
quote = "
blank =
http_referer =
cgi = htmlparser
colon = :
remote_user =
nbsp =  
q = ?
redirect_uri =
wo = [
toolbar_site = mysitetoolbar.com
is_alpha = 0
title =
caret = ^
is_secure = 0
remote_addr = 38.107.191.85
http_host = www.esqsoft.com
time = 1284137494
is_beta1 = 0
is_beta2 = 0
wc = ]
path_info = /examples/test_query_string.htm
nl =
plus = +
http_user_agent = CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
script_name = /cgi-bin/html_parser.fcgi
is_beta = 0
uncache = onsubmit="var X=new Date();this.action+=(this.action.indexOf('?')>-1?'&':'?')+'Xtime='+X.getTime();"