I just do this:
use Apache::Request ()
sub handler
{
my $r = shift;
my $apr = Apache::Request->new( $r , DISABLE_UPLOADS=>0, POST_MAX=>100000 );

$get_var = $apr->param('fieldname');
$post_var = $apr->param('fieldname');
}


On Apr 7, 2005, at 11:44 AM, Durga Prasad Mohapatra wrote:

Hi,

I have done all of my programs using apache1.3 and modperl 1.0. Now i want to
port all of my modperl programs to mod_perl 2.0 and apache2 without using
Apache::compat. I am facing problem in first step, for parsing methods i.e GET
and POST. Previously in modperl 1.0 if it POST method i was using content. But
in modperl 2.0 there is no content method. Please help me. Thanks in advance.


regards
Durga





Reply via email to