Query string: Difference between revisions

Content deleted Content added
Example: how the program can read the query string
Example: grammar
Line 37:
==Example==
 
If a form embedded in an [[HTML]] page is as follows:
 
<form action=cgi-bin/test.cgi method=get>
<input type=text name=first>
<input type=text name=second>
Line 48:
firstname=this+is+a+fileld&secondname=was+it+clear+%28already%29%3F
 
In [[UNIX]]-based [[web server]]s, the program receives the query string as an [[environment variable]] named <code>QUERY_STRING</code>
 
== See also ==