Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: use CGI or die, even with mod_perl? - tad offtopic

by Beatnik (Parson)
on Apr 29, 2003 at 17:12 UTC ( [id://254021]=note: print w/replies, xml ) Need Help??


in reply to use CGI or die, even with mod_perl?

Not all that ontopic but not entirely off-topic either. While doing HTTP file uploading in mod_perl, I used Apache::Request and any form data besides the file field didn't get parsed properly. I followed the usual form construction and did some tests. What I discovered was that, on my system anyway, you can't use the plain $r->args or $r->content for parsing any other fields. I used Apache::Requests param, which is similar to CGI.pm to eventually access the other form field and everything went smooth from there. I've probably overlooked this in the POD or the eagle book somewhere. Just thought I'd share.

Greetz
Beatnik
... I'm belgian but I don't play one on TV.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://254021]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-24 18:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found