On Tue, 21 Dec 2004, eps com estem wrote: > >> Here's a patch for $upload->slurp, see if it helps: > >Fast work, as always, Joe :) These patches I've incorporated > >in a new libapreq2.ppd ppm package at > > <a > > href="/app/message?l=es&o=8&url=http%3A%2F%2Ftheoryx5%2Euwinnipeg%2Eca%2Fppms%2F" > target="_blank">http://theoryx5.uwinnipeg.ca/ppms/</a> > >The version hasn't changed, so you may have to uninstall > >libapreq2 and then reinstall it via ppm. > > Hell, so fast ... Installed and now everything runs > smoothly. Fantastic. One last question, would you use > libapreq2 to handle all GET and POST data or only the > multipart-POST data?? I mean, what's the intention of > libapreq to be? To handle this or simply to offer some > adds? Thanks cracks.
That's great that it works ... libapreq2 is pretty general; from the README in the sources: libapreq is a safe, standards-compliant, high-performance library used for parsing HTTP cookies, query-strings and POST data. The original version (libapreq-1.X) was designed by Lincoln Stein and Doug MacEachern. The perl APIs Apache::Request and Apache::Cookie are the lightweight mod_perl analogs of the CGI and CGI::Cookie perl modules. <http://search.cpan.org/src/JOESUF/libapreq2-2.04_03-dev/README> In fact, you can use libapreq2 in a CGI environment (to do so with the Perl bindings you need mod_perl installed for some APR::* modules, but these particular modules can also be used outside of mod_perl). -- best regards, randy -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html