neutron has asked for the wisdom of the Perl Monks concerning the following question:
Here's the cgi ("10_cgi.cgi"):<html><head><title>Test Form</title></head> <body> <form action="10_cgi.cgi" method="GET"> Enter some text here: <input type="text" name="sample_text" size=30> <input type="submit"> </form> </body></html>
#!/perl/bin/perl -wT use CGI qw(:standard); use CGI::Carp qw(warningsToBrowser fatalsToBrowser); use strict; print header; print start_html( "Get Form" ); #my %form; #foreach my $p (param()) { # $form{$p} = param($p); # print "$p = $form{$p}<br>\n"; #} print end_html;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Prompted to Open or Save CGI Program -- configuration issue?
by targetsmart (Curate) on Mar 17, 2009 at 06:16 UTC | |
Re: Prompted to Open or Save CGI Program -- configuration issue?
by Anonymous Monk on Mar 17, 2009 at 09:57 UTC | |
Re: Prompted to Open or Save CGI Program -- configuration issue?
by neutron (Sexton) on Mar 17, 2009 at 12:16 UTC | |
by olus (Curate) on Mar 17, 2009 at 15:55 UTC | |
by moritz (Cardinal) on Mar 17, 2009 at 12:55 UTC | |
by neutron (Sexton) on Mar 18, 2009 at 01:48 UTC |