CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [bhumika] Submit PHP form to perl script: Edit Log



Zhris
Enthusiast

Apr 6, 2011, 12:21 AM


Views: 8847
Re: [bhumika] Submit PHP form to perl script

Ok firstly, you may have already made this change, but the shebang lines are different.


Code
#!H:/xampp/perl/bin/perl  
use strict;
use warnings;
use CGI ':standard';

my $mytextarea = param('mytextarea');

print "Content-type: text/html\n\n";
print "$mytextarea";


Also is your form action correct e.g. action="http://localhost/cgi-bin/script.pl".

Test if that works.

Chris


(This post was edited by Zhris on Apr 6, 2011, 12:22 AM)


Edit Log:
Post edited by Zhris (Enthusiast) on Apr 6, 2011, 12:21 AM
Post edited by Zhris (Enthusiast) on Apr 6, 2011, 12:22 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives