How to use Apache2::Upload

2005-11-11 Thread Boysenberry Payne
In the Apache2::Upload doc it gives the following example: use Apache2::Upload; $req = Apache2::Request->new($r); $upload = $req->upload(foo); If I'm using this inside of a mod_perl handler do I need to do $req = Apache2::Request->new($r); where $r is my request handle? Or am I getting confused?

Re: How to use Apache2::Upload

2005-11-11 Thread Boysenberry Payne
Also, are there equivalents to: $CGI::DISABLE_UPLOADS and $CGI::POST_MAX ??? Thanks, Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Nov 11, 2005, at 3:56 PM, Boysenberry Payne wrote: In the Apache2::Upload doc it gives the following example: use Apache2::Upload; $req =

Re: How to use Apache2::Upload

2005-11-11 Thread Philip M. Gollucci
In the Apache2::Upload doc it gives the following example: I would recommend that you check out: http://httpd.apache.org/apreq/docs/libapreq2/group__apreq__xs__apr__request__cookie.html instead ... Apache2::Cookie was just let in for back compat and we don't generally recommend it

Re: How to use Apache2::Upload

2005-11-11 Thread Philip M. Gollucci
Boysenberry Payne wrote: Also, are there equivalents to: $CGI::DISABLE_UPLOADS and $CGI::POST_MAX ??? http://httpd.apache.org/apreq/docs/libapreq2/group__apreq__xs__apr__request.html Look for $req-disable_uploads() and $req-read_limit($set) Respectively. HTH --

Re: How to use Apache2::Upload

2005-11-11 Thread Michael Peters
Philip M. Gollucci wrote: In the Apache2::Upload doc it gives the following example: I would recommend that you check out: http://httpd.apache.org/apreq/docs/libapreq2/group__apreq__xs__apr__request__cookie.html instead ... Apache2::Cookie was just let in for back compat and we

Re: How to use Apache2::Upload

2005-11-11 Thread Boysenberry Payne
What is $pool in: APR::Request::Custom->handle($pool, $query_string, $cookie_header, $parser, $read_limit, $brigade) and how do I get each of the values for this? Should I use: APR::Request->handle( ... ); or the above? Right now I'm doing the following: sub handle { $r = shift; #