CGI question: Getting form name to cgi script

Joel Hammer Joel
Mon May 17 11:38:56 PDT 2004


There is a simple solution.

With a submit button, if you include a name and value, you will send both of
them to the CGI script when the submit button is pressed.

<form name="2" action="cgi.script">
<input type ="submit" name="2" value ="Submit"\> 
All the form stuff
</form>

Joel



More information about the Linux-users mailing list