On Wed, 2005-03-16 at 17:51 +0530, Joshua N Pritikin wrote:
> Now I'm getting a different error:
>
>'.cgi_error' => '500 Bad read on multipart/form-data! wanted 880, got
> 0',
Ah, I see.
Careful examination of CGI.pm suggests that STDIN no longer
On Wed, 2005-03-16 at 11:24 +0530, Joshua N Pritikin wrote:
> I'm trying to get parameters from multipart/form-data.
D'oh! I was passing the request object into CGI::Simple.
CGI::Simple->new($r);
I guess I should pass in nothing, e.g.:
CGI::Simple->new();
Now I
On Tue, 2005-03-15 at 23:21 -0500, Perrin Harkins wrote:
> On Wed, 2005-03-16 at 08:47 +0530, Joshua N Pritikin wrote:
> > CGI::Simple doesn't work with mod_perl 1.999.20:
> >
> > $data = $self->{'.mod_perl'} ? Apache->request->args
CGI::Simple doesn't work with mod_perl 1.999.20:
$data = $self->{'.mod_perl'} ? Apache->request->args :
$ENV{'QUERY_STRING'} || $ENV{'REDIRECT_QUERY_STRING'} || '';
Apache->request->args returns an Apache::RequestRec instead of a native
perl data structure.
What is the new magic to ge
First there was "use CGI". Now there are lots of modules
which provide a similar service, for example CGI::Simple.
What is the modern best solution for parsing form data, etc?
libapreq?
--
A new cognitive theory of emotion, http://savannah.nongnu.org/projects/aleader
--
Reporting bugs: http:/
On Fri, Nov 07, 2003 at 10:18:45PM -0500, Geoffrey Young wrote:
> >> PerlSwitches -T
> >
> >That's the right way.
>
> I'm not entirely sure, but IIRC, if you run a section or
> PerlLoadModule before PerlSwitches its too late to specify taint mode. I
> might be wrong, but it's worth checking.
Hi!
My setup is really simple, and because of this, I can't figure out
what is going wrong. I am running:
Apache/2.0.47 (Debian GNU/Linux) mod_perl/1.99_10 Perl/v5.8.1
My apache2.conf contains:
PerlSwitches -T
SetHandler perl-script
PerlResponseHandler OHL::CGI
My CGI script