in reply to multipart/form under mod_perl
I would recommend that you take a look at the Apache::Request module - it has a similar interface to that of the CGI module but works directly with the Apache API.
You will get some code like this :
use Apache::Request; sub handler { my ( $request ) = @_; my $apr = Apache::Request->new($request); my $upload = $apr->upload; my $fh = $upload->fh; while(<$fh>) { # do something with file contents } }
/J\
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: multipart/form under mod_perl
by philou (Beadle) on Feb 04, 2002 at 10:18 UTC |