Keep It Simple, Stupid | |
PerlMonks |
Preventing GET and POST from getting mixed-upby xaphod (Monk) |
on Aug 19, 2003 at 08:13 UTC ( [id://284816]=perlquestion: print w/replies, xml ) | Need Help?? |
xaphod has asked for the wisdom of the Perl Monks concerning the following question: I'm writing a mod_perl handler. Nothing exciting, just learning the art and having fun. Only I've hit a little snag-ette... I have a form like this: I can get the results of this form easilly using Apache::Request. Which gives me: Which is fine. However, if the URL this is posted to has a GET query string such as http://www.mine.org/handler?name=foo then I get this:
So, obviously, Apache::Request does not differentiate between GET and POST data. However, I'd like to keep the two seperate. So my question to my fellow monks.... What would be the best way to stop my GET data and my POST data getting mixed up? I can think of a couple of ways to do it. But I'd like to find a simple, efficient, and elegant solution. --TTFN, FNORD xaphod
Back to
Seekers of Perl Wisdom
|
|