Michael Peters <[EMAIL PROTECTED]> writes:
> Philip M. Gollucci wrote:
>> instead ... Apache2::Cookie was just let in for back compat and we don't
>> generally recommend it anymore.
>
> This is, at least to me, annoying. Apache::Request's API is pretty
> simple and familiar to those who know CGI.
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;
# uploads
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
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
--
---
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 anymore.
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 = Apa
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