Sample Form




One way to invoke a cgi perl script is with Get, as with this link:

see_environment.cgi?foo=hello&bar=goodbye .

The variables arrive in the QUERY_STRING enviroment variable.
Another way is with an html form, which typically uses Post
param1:
param2:

The parameters then arrive via STDIN with CONTENT_LENGTH set to the value of that string.


Jim Mahoney
(The basic idea for this script was from Rex Swain CGI environment demo.)
Last modified: Sat Dec 8 13:45:50 EST 2001