Apache2::Request error ...

2008-05-25 Thread mome
Hi, I get the following error when trying to run my script ... /usr/bin/perl: symbol lookup error: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/APR/Request/Apache2/Apache2.so: undefined symbol: modperl_xs_sv2request_rec, Here is my script... #!/usr/bin/perl use warnings; use stri

Re: Post data with Apache2::Request

2008-05-25 Thread Ben van Staveren
On May 26, 2008, at 9:40 AM, Foo JH wrote: kropotkin wrote: Hi I am trying to obtain POST data from a form. Try LWP::UserAgent to post forms instead. It's quite easy to use. Read the subject again. Epic fail at reading comprehension. He's not trying to post forms anywhere, he's trying to

Re: Post data with Apache2::Request

2008-05-25 Thread Foo JH
kropotkin wrote: Hi I am trying to obtain POST data from a form. Try LWP::UserAgent to post forms instead. It's quite easy to use.

Re: Post data with Apache2::Request

2008-05-25 Thread kropotkin
Hi Tyler Solved! I didn't and should have said I am using Mason. It looks like Mason gobbled up the POST data. (This must an example of the problem I see mentioned that the POST data can only be read once). I can then get the POST data from a Mason variable %ARGS. regards Justin kropotkin wr

Trouble with mod_perl, Archive::Zip and taint mode

2008-05-25 Thread Roberto C . Sánchez
[Please CC me on all replies] So, I am writing some simple code to allow a user to upload his own photo galleries. The section of code giving me problems is this: my $scratch_dir = $gallery_dir . "/scratch"; my $zipper = Archive::Zip->new(); my $zip_stat = $zipper->read($destfile); if ($

Re: Post data with Apache2::Request

2008-05-25 Thread kropotkin
Hi Tyler The cpan docs say $req->body('field_name') for POST data and seem to imply $req->param('field_name') for GET data. Neither work. I reinstalled libapreq . I had the same problems with Apache::Request. Could never get POST data out of that though I could get GET data. Looks like back

Re: Post data with Apache2::Request

2008-05-25 Thread Tyler Gee
On Sat, May 24, 2008 at 4:57 PM, kropotkin <[EMAIL PROTECTED]> wrote: > > Hi > > I am trying to obtain POST data from a form. > > I have these lines: > > my $req = Apache2::Request->new($r); > my $email = $req->body('email'); my $email = $req->params('email'); > > My form contains a field called