Re: reading POST data problem

2004-07-12 Thread Stas Bekman
Stas Bekman wrote: eps com estem wrote: Hi, i had already tested the $r->read but it did not work, now i have found why. $r->read(my $buffer, $len) only works if $buffer is a string. $r->read($ref->{buffer}, $len) does not work, as $ref->{buffer} is empty. And that was what i was using, so i thou

Re: reading POST data problem

2004-07-11 Thread Stas Bekman
eps com estem wrote: Hi, i had already tested the $r->read but it did not work, now i have found why. $r->read(my $buffer, $len) only works if $buffer is a string. $r->read($ref->{buffer}, $len) does not work, as $ref->{buffer} is empty. And that was what i was using, so i though a long time ago it

Re: reading POST data problem

2004-07-11 Thread eps com estem
Hi, i had already tested the $r->read but it did not work, now i have found why. $r->read(my $buffer, $len) only works if $buffer is a string. $r->read($ref->{buffer}, $len) does not work, as $ref->{buffer} is empty. And that was what i was using, so i though a long time ago it was some kind of wi

Re: reading POST data problem

2004-07-11 Thread Stas Bekman
eps com estem wrote: Hi. I used to read POST data with the sentence read (STDIN,$var,$r_headers->{'Content-length'}); When the handler was invoked after submitting the formulary. But, lately i changed the handler configured in apache.conf by a parsing URI module. There i catch the direction of the

reading POST data problem

2004-07-11 Thread eps com estem
Hi. I used to read POST data with the sentence read (STDIN,$var,$r_headers->{'Content-length'}); When the handler was invoked after submitting the formulary. But, lately i changed the handler configured in apache.conf by a parsing URI module. There i catch the direction of the form submit and f