Thanks to Tom and Geoff for your helpful hints.
I've got a few ideas which i'm going to try based on your ideas and
hopefully one of them will work.
ps: Geoff, the domain www.modperlcookbook.org seems to have lost its A
record (modperlcookbook.org seems to be fine...).
> simran wrote:
simran wrote:
>>You could use
>>
>>$r->read($buf, $bytes_to_read, [$offset])
>>
>>if I'm not completely wrong.
>>
>>See:
>>http://perl.apache.org/docs/1.0/api/Apache.html#_r_E_gt_read__buf___bytes_to_readoffset__
>
>
> It would work if something had not already read the data once from the
>
simran wrote:
But there's nobody reading the STDIN if you avoid doing something like this:
my $cgi = new CGI();
my $rq = Apache::Request->new($r);
my $content = $r->content();
Why would you do that if you know that none of these methods will work
because you don't get a real post.
I wish i coul
> But there's nobody reading the STDIN if you avoid doing something like this:
>
> my $cgi = new CGI();
> my $rq = Apache::Request->new($r);
> my $content = $r->content();
>
> Why would you do that if you know that none of these methods will work
> because you don't get a real post.
I wish i co
But there's nobody reading the STDIN if you avoid doing something like this:
my $cgi = new CGI();
my $rq = Apache::Request->new($r);
my $content = $r->content();
Why would you do that if you know that none of these methods will work
because you don't get a real post.
Tom
simran wrote:
You could
> You could use
>
> $r->read($buf, $bytes_to_read, [$offset])
>
> if I'm not completely wrong.
>
> See:
> http://perl.apache.org/docs/1.0/api/Apache.html#_r_E_gt_read__buf___bytes_to_readoffset__
It would work if something had not already read the data once from the
filehandle... and since
You could use
$r->read($buf, $bytes_to_read, [$offset])
if I'm not completely wrong.
See:
http://perl.apache.org/docs/1.0/api/Apache.html#_r_E_gt_read__buf___bytes_to_readoffset__
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
Li
ssage
-
Now, when my Apache::Request (or CGI::Query) object get instantiated, it
reads in the data from STDIN. I assume it expects data with the
content-type: application/x-www-form-urlencoded
as is indicative to me by the error i get in my