drfrog has asked for the wisdom of the Perl Monks concerning the following question:
later on i want to send all the info recieved from a file to another module that inserts this information into a database tablemy $r = Apache::Request->new( shift, POST_MAX => 10 * 1024 * 1024, # in bytes, so 10M DISABLE_UPLOADS => 0 );
BUT i have the above subroutine pulling in the Apache->request object if through MYMod::Add::handler&MYMod::Add::Add($r);
and thenmy $r = Apache->request; # Standard stuff, with added options... my $apr = Apache::Request->new( $r, POST_MAX => 10 * 1024 * 1024, # in bytes, so 10M DISABLE_UPLOADS => 0 );
but this just borks out the upload procedure and nothing get processed, whereas if i just pass in the Apache::Request it doesnt process the parameters correctly&MYMod::Add::Add($r);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: mod_perl Apache::Request vs Apache->request
by cleverett (Friar) on Jan 22, 2004 at 11:32 UTC | |
|
Re: mod_perl Apache::Request vs Apache->request
by edoc (Chaplain) on Jan 21, 2004 at 22:36 UTC | |
by drfrog (Deacon) on Jan 21, 2004 at 23:02 UTC | |
|
Re: mod_perl Apache::Request vs Apache->request
by Fletch (Bishop) on Jan 22, 2004 at 14:53 UTC | |
by cleverett (Friar) on Jan 23, 2004 at 00:11 UTC | |
by Fletch (Bishop) on Jan 23, 2004 at 02:53 UTC |