I came across the same problem while trying to install a bunch of XML
modules via the CPAN module. It was pretty frustrating when the module
installations kept dying when it got to expat, even after a installed
the expat port time and time again. I think I solved the problem
similarly to the
I posed this question to the Template Toolkit list and got no response,
so I figured I'd give this list a shot...
-
Hello, below is some code I have in a mod_perl handler that checks to
see if an uploaded image is less than 300 pixels tall or wide.
Everything seems to be
I am trying to have a user upload an image and I am getting an undef
$apr-upload object.
Here is the code:
form method=post ENCTYPE=multipart/form-data action=/join
input type=hidden name=action value=upload
br
your picture (size limit: 30k)br
input type=file name=userpic size=20
p
input
( {}, 'Apache::Table'
);
The second print statement
prints nothing.
I looked at perldoc Apache::Request,
but didnt see anything wrong...
Help?
Mike
-Original Message-
From: Issac Goldstand [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002
4:39 AM
To: Mike Melillo
Cc
Hi,
I'm having issues processing user input via POST requests. I have a
simple form page, that when you click submit I just want to redisplay
the page but with the values filled in. If I do a GET request and do
%params = $r-args;
It works, but if I use the method in the eagle book for POST
, Mike Melillo wrote:
It works, but if I use the method in the eagle book for POST requests
%params = $r-content; then nothing gets returned. I've even printed
%params to the apache errlog with DataDumper, and its empty.
One of the fields is an image file that will be uploaded so I need to
use POST
PerlSetVar
TicketExpires 10
/Location
Any ideas why Apache woulnt recognize the Location
Tag and look for the file instead?
Thanks,
Mike Melillo