Quoting Tim Gustafson <suppressed>:
Hrmm, that doesn't seem to work. In my code, I have: print $fh $r->body . "\n"; And in my error log, I get: Can't locate object method "body" via package "Apache2::RequestRec" at /var/www/lib/Log.pm line 31.
It's part of Apache2::Request, see the documentation below http://httpd.apache.org/apreq/docs/libapreq2/group__apreq__xs__request.html#bodyIt gives you access to the content through an APR::Table derived class, so you can do stuff like:
my $name = $r->body("name");
or
my $table = $r->body();
It doesn't give you access to the whole, unaltered POST data (afaik).
Adam
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.