perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe M. Chiasson" <go...@cpan.org>
Subject Re: How to parse after reading POST data in mod_perl 2 ?
Date Mon, 04 Nov 2002 05:59:57 GMT
On Fri, 2002-11-01 at 03:41, Sumitro Chowdhury wrote:
> Hi all,
> Please help ...
> 
> Using  Apache/2.0.43 (Unix) mod_perl/1.99_07-dev
> Perl/v5.8.0 .
> 
> I read in POST data from Form using
> $r->read($buff,$r->headers_in->{'Content-length'})
> 
> Since I donot use Apache::compat, what API methods are
> available to parse this string data ? ( possibly
> convert it to a hash )

There isn't anything readily avaliabe for the moment, but take a look
at parse_args() in Apache::compat for a good working example.

> Cannot use params() from Apache::Request since I have
> not installed mod_perl 1.
> 
> Thanks,
> Sumitro Chowdhury
> 
> __________________________________________________
> Do you Yahoo!?
> HotJobs - Search new jobs daily now
> http://hotjobs.yahoo.com/
> 
-- 


--------------------------------------------------------------------------------
Philippe M. Chiasson /gozer\@(cpan|ectoplasm)\.org/ 88C3A5A5
(122FF51B/C634E37B)
http://gozer.ectoplasm.org/    F9BF E0C2 480E 7680 1AE5 3631 CB32 A107
88C3 A5A5
Q: It is impossible to make anything foolproof because fools are so
ingenious.
perl
-e'$$=\${gozer};{$_=unpack(P7,pack(L,$$));/^JAm_pH\n$/&&print||$$++&&redo}'


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message