Hi 

I am trying to obtain POST data from a form.

I have these lines:

my $req = Apache2::Request->new($r);
my $email = $req->body('email');

My form contains a field called 'email'. 

However no data.

The line: print $req->body_status(); outputs 'SUCCESS' seeming to indicate
a) that $req as an instance of Apache2::Request and b) that the object
thinks it has got some data?

I have tired sending the data by GET and using : my $email =
$req->param('email') but there was no data there either.

I don't want to use CGI.pm  if possible

with thanks

Kropotkin
-- 
View this message in context: 
http://www.nabble.com/Post-data-with-Apache2%3A%3ARequest-tp17452698p17452698.html
Sent from the mod_perl - General mailing list archive at Nabble.com.

Reply via email to