CGI question: Getting form name to cgi script

ronnie gauthier ronnieg
Mon May 17 11:38:54 PDT 2004


Why should the serve care what the form name is. Why should it need to
know. 
If you need to get the form name to the script use a hidden tag.

Trying to transfer a file requires the use of the correct
enctype="multipart/form-data" in the <form> tag.

If you are not using it look at CGI.pm, makes form use and html output
as well as keeping state a bit easier. 
http://www.devshed.com/Server_Side/Perl/CGIpmBasics/page1.html


On Tue, 15 Oct 2002 23:11:22 -0400
Joel Hammer <Joel at HammersHome.com> wrote:

>I must be stupid or tired but:
>
>Fooling around with CGI.
>
>I have created an  html page with multiple forms on it. When I hit the
>submit button, I don't see where the form name is being sent to the
>web server.  This makes it hard to process the forms properly. What am
>I missing?
>
>Another question: Is there a way to submit data from your browser to a
>cgi script without going through a form?
>
>Thanks,
>Joel
>
>_______________________________________________
>Linux-users mailing list
>Linux-users at linux-sxs.org
>Unsubscribe/Suspend/Etc ->
>http://www.linux-sxs.org/mailman/listinfo/linux-users


More information about the Linux-users mailing list