Query Parsing


Submitting the form from the mailer script passes the content of the filled-out form as input to the querysh wrapper program. This input is encoded and sent as a single string:
mailtype=Comment&username=Gilbert+Detillieux&emailid=gedetil
@cs.umanitoba.ca&comments=Test+of+input+to+a+form+for%0A%22G
ET%22+%26+%22POST%22+queries.%0A%09-+G.E.D.
Querysh parses the input and puts each form field's content into a variable that the script can use:
QSH_Fields=QSH_mailtype QSH_username QSH_emailid QSH_comments
QSH_mailtype=Comment
QSH_username=Gilbert Detillieux
QSH_emailid=gedetil@cs.umanitoba.ca
QSH_comments=Test of input to a form for\
"GET" & "POST" queries.\
	- G.E.D.

* Seminar Index |* Fill-Out Form |* Style and Substance
Copyright (c) 1995, Gilbert Detillieux, Computer Science, University of Manitoba.