fakename has asked for the wisdom of the Perl Monks concerning the following question:
perl scriptI got this from one friend <?php ?> <form method="post" action="script.pl"> <textarea name="mytextarea">textarea content</textarea> <input type="submit" name="submit" value="submit" /> </form>
but I am getting this#!/usr/bin/perl use strict; use warnings; use CGI ':standard'; my $mytextarea = param('mytextarea'); print "Content-type: text/html\n\n"; print "$mytextarea";
I am using XAMPP on Vista"Server error! The server encountered an internal error and was unable to complete yo +ur request. Error message: Premature end of script headers: *.pl"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Submit PHP form to perl script
by wind (Priest) on Apr 06, 2011 at 03:49 UTC | |
by fakename (Initiate) on Apr 06, 2011 at 07:12 UTC | |
|
Re: Submit PHP form to perl script
by thezip (Vicar) on Apr 06, 2011 at 04:09 UTC | |
by fakename (Initiate) on Apr 06, 2011 at 05:59 UTC | |
|
Re: Submit PHP form to perl script
by wfsp (Abbot) on Apr 06, 2011 at 08:03 UTC | |
by wind (Priest) on Apr 06, 2011 at 23:02 UTC |