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\
In reply to Re: multipart/form under mod_perl
by gellyfish
in thread multipart/form under mod_perl
by philou
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |