Here's the full program that i was trying to run and the HTML content.
use Apache::Request; use CGI; my $apr= Apache::Request->new(shift); my $page = new CGI; my $test=$apr->param('school'); print $page->header(); print("Post Data " . $test);
HTML content
<html> <head></head> <body> <form method=Post action='test.pl' > <input type=text name='school' value='test'> <input type=submit value='Ok'> </form> </body> </html>
mod_perl configuration in http.conf
Apache version is 1.3.Alias /perl/ /usr/local/apache/cgi-bin/ PerlModule Apache::Registry <Location /perl/> SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI PerlSendHeader On allow from all </Location>
In reply to Re^2: Problem with getting POST request data with Apache::Request object
by thil
in thread Problem with getting POST request data with Apache::Request object
by thil
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |