Forms gather information, which is associated with variables,
and provide this information to a (CGI - Common Gateway Interface)
program. All
forms-specific tags must be within FORM tags:
<form method="get"
action="url">
. . . </form>
Where url is a URL to a CGI program or a
"mailto:":
<form method="post"
action="mailto:registrar@usgs.gov">
. . . </form>
and the method is either "get" or
"post". The default method is
"get " and the default URL is the current
document.
GEThttp://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=lornaPOSTNote: Form information which is posted must be decoded. A perl script to provide this decoding is available.
slide 47
|
"Mastering a Web Site" online course Created and maintained by Lorna Schmid and David Boldt. http://water.usgs.gov/usgs/training/webmaster/forms-cgi.html Last modified: Wed Nov 12 17:24:58 EST 2003 |