Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by Beatnik (Parson)
on Apr 29, 2003 at 17:12 UTC ( #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.


Comment on Re: use CGI or die, even with mod_perl? - tad offtopic
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2014-08-20 12:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (113 votes), past polls