Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: CGI - How to use upload_hook and query the query string ?

by cees (Curate)
on Feb 07, 2006 at 21:56 UTC ( #528642=note: print w/ replies, xml ) Need Help??


in reply to Re: CGI - How to use upload_hook and query the query string ?
in thread CGI - How to use upload_hook and query the query string ?

I thought that by default CGI.pm did not parse the QUERY_STRING if it was a POST request... You actually have to edit the code to get it to parse and combine both the GET and POST parameters together.

Search the source for CGI.pm for the string "Some people want to have their cake and eat it too".


Comment on Re^2: CGI - How to use upload_hook and query the query string ?
Re^3: CGI - How to use upload_hook and query the query string ?
by ikegami (Pope) on Feb 07, 2006 at 23:07 UTC
    Your right. I looked at the source, but I looked too quickly and mistook something else for the parsing of QUERY_STRING. They'll have to modify their CGI.pm or use my alternate solution.
      I've gone down the route of putting the parameters in the URL action of the form as simple query paramaters which seems to work just fine. Many thanks for all the suggestions.

Log In?
Username:
Password:

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

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

    The best computer themed movie is:











    Results (113 votes), past polls