Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 ( [id://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 ?

Replies are listed 'Best First'.
Re^3: CGI - How to use upload_hook and query the query string ?
by ikegami (Patriarch) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://528642]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-11-12 09:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    chatterbot is...






    Results (39 votes). Check out past polls.