This site's content was compiled from 1993 to 2006. Beyond that, Google is your friend.
Dave Martin
This class can be used to write programs intended to be the targets of web server forms.
This library parses standard input and the environment variable QUERY_STRING for variables from a from submitted to a webserver.
Standard input is parsed first, followed by the QUERY_STRING. This allows a form variable to be overridden by specifying it in the URL. Query string processing can be suppressed by calling make_no_query_string instead of make. The CGI variables can be retrieved by using the cgi_vars associative array, or by using various query methods.
A cgi variable can (rarely) have more than one value. Probably the most likely occurance of this would be with a selection box that allows multiple selections. Some of the query functions ignore the possibility of multiple values, and only operate or return the first value. However, a query method is provided for those instances where there may be multiple values.