Re: How to parse GET and POST methods in mod_perl 2.0

[prev] [thread] [next] [Date index for 2005/04/07]

From: Jonathan Vanasco
Subject: Re: How to parse GET and POST methods in mod_perl 2.0
Date: 16:33 on 07 Apr 2005
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
>
>

Re: How to parse GET and POST methods in mod_perl 2.0
Jonathan Vanasco 16:33 on 07 Apr 2005

Generated at 14:43 on 11 Apr 2005 by mariachi v0.52