in reply to How to make that works with perl
Not sure what you mean. But if you want to see what action1.pl might look like then here's a start:
#!Perl -w use strict; use CGI::Pretty qw(:standard :cgi-lib); use CGI::Carp qw(fatalsToBrowser); # Remove for production code $| = 1; # Unbuffered output if (param('submit')) { print header (); my $name = param ('name'); my $email = param ('email'); my $password = param ('password'); print "Name: $name<br/>\n"; print "Email: $email<br/>\n"; print "Password: $password<br/>\n"; } exit 0;
Generates:
Name: wibble wobble<br/> Email: wibble@wobble<br/> Password: wibble<br/>
See CGI and the Tutorials' Web Programming for more information.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to make that works with perl
by chromatic (Archbishop) on Apr 14, 2007 at 03:11 UTC | |
by GrandFather (Saint) on Apr 14, 2007 at 03:20 UTC | |
|
Re^2: How to make that works with perl
by naikonta (Curate) on Apr 14, 2007 at 04:15 UTC | |
by Fletch (Bishop) on Apr 14, 2007 at 04:45 UTC | |
by naikonta (Curate) on Apr 14, 2007 at 06:57 UTC |