in reply to Submit PHP form to perl script
Wrap your param in actual htmluse CGI::Carp qw(fatalsToBrowser warningsToBrowser);
And try adding the following to the end of your perl script:print "<html><body>Hello world = '$mytextarea'</body></html>";
In summary1; __END__
#!/usr/bin/perl use strict; use warnings; use CGI ':standard'; use CGI::Carp qw(fatalsToBrowser warningsToBrowser); my $mytextarea = param('mytextarea'); print "Content-type: text/html\n\n"; print "<html><body>Hello world = '$mytextarea'</body></html>"; 1; __END__
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Submit PHP form to perl script
by fakename (Initiate) on Apr 06, 2011 at 07:12 UTC |