On Tue, 19 Feb 2002, Robin Berjon wrote:
> > I'm too tired to check right now, but I thought AxKit loaded up
> > Apache::Request with file uploads turned off. I would think this would
> > destroy any chance of even getting to the request object to retrieve the
> > uploaded file.
>
> I thought this might be the case, but I've been grep'ing the source all over
> and I can't find where it turns uploads off. Any help here would be much
> appreciated.
It looks like AxKit doesn't disable uploads anymore. This means you could
conceivably grab an upload using Apache::Request. Have you tried this?
Something like:
my $apr = Apache::Request->instance($r);
my $upload = $apr->upload;
my $fh = $upload->fh;
my $lines = 0;
while(<$fh>) {
++$lines;
...
}
(this code is taken from the Apache::Request man page)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]