Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: CGI help.

by tcf22 (Priest)
on Dec 12, 2003 at 21:22 UTC ( #314413=note: print w/replies, xml ) Need Help??


in reply to CGI help.

Use the CGI module to capture the data. Also use the POST method to avoid sending the data in the URL.

Form:
<FORM action="handler.cgi" method=POST> <TEXTAREA name="textarea1"></TEXTAREA> <input type="submit" value="Submit"> </FORM>
CGI:
use CGI; my $cgi = new CGI; my $user_input = $cgi->param('textarea1');

- Tom

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://314413]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2020-05-30 12:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (171 votes). Check out past polls.

    Notices?