[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: get user's request data


On Mon, 24 Sep 2007 16:22:00 +0800
"lists user" <suppressed> wrote:

> Rather than use Apache2::Request to get user's request data,
> 
>     $req = Apache2::Request->new($r);
>     @foo = $req->param("foo");
> 
> 
> how can I use pure mp2 methods to do it? thanks.

  Well you *could* jump through a bunch of hoops to get the
  raw URI for GETs or the POST body, decode the data, etc.
  but why on earth would you want to do that? 

  What you are doing above is one of the two recommended ways
  of getting your request, it also happens to be the fastest.
  The other method is to use CGI.pm as you would in a normal
  CGI. 

 -------------------------------------------------------
   Frank Wiles, Revolution Systems, LLC. 
     Personal : suppressed  http://www.wiles.org
     Work     : suppressed http://www.revsys.com 


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.