in reply to Submit PHP form to perl script

Add the following to just after use CGI
use CGI::Carp qw(fatalsToBrowser warningsToBrowser);
Wrap your param in actual html
print "<html><body>Hello world = '$mytextarea'</body></html>";
And try adding the following to the end of your perl script:
1; __END__
In summary
#!/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
    I added that but the same error persists :(