ajkiwi88
03-02-2005, 11:29 AM
can somebody please construct me a working cgi scipt for a basic form?
so i get the idea of how they look
cyaz
aj
so i get the idea of how they look
cyaz
aj
|
Click to See Complete Forum and Search --> : basic cgi script? ajkiwi88 03-02-2005, 11:29 AM can somebody please construct me a working cgi scipt for a basic form? so i get the idea of how they look cyaz aj Jeff Mott 03-02-2005, 12:12 PM #!/usr/bin/perl use strict; use warnings FATAL => 'all'; use CGI; my $cgi = CGI->new(); print $cgi->header(), $cgi->start_html(-title => 'A CGI Script'); for my $p ($cgi->param()) { print $cgi->p( $p . ' is set to ' . $cgi->param($p) ); } print $cgi->end_html(); Also, it may find it useful to look at the sticky thread "Beginning Perl". webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |