Sample Form

(ideas from Rex Swain CGI environment demo)
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
Last modified: Sat Feb 5 00:42:29 EST 2000