Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Multiple CGI parameters

by injunjoel (Priest)
on Aug 15, 2008 at 18:57 UTC ( [id://704604]=note: print w/replies, xml ) Need Help??


in reply to Multiple CGI parameters

Greetings,
For some reason my first attempt at posting didn't work out
No matter... I would suggest looking at the Vars() method/function in CGI, which will give you all your parameters in a nice neat hash. There is also example code to handle multi-valued parameters.

-InjunJoel
"I do not feel obliged to believe that the same God who endowed us with sense, reason and intellect has intended us to forego their use." -Galileo

Replies are listed 'Best First'.
Re^2: Multiple CGI parameters
by Joost (Canon) on Aug 15, 2008 at 19:48 UTC
      (mainly, it concatenates duplicate variables, using the "\0" character)


      I just ran into that issue and spent a few days trying to figure out what I thought was a UTF-8 encoding issue. So much fun.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-25 17:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found