Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Multiple CGI parameters

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

in reply to Multiple CGI parameters

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.

"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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://704604]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2018-05-22 06:55 GMT
Find Nodes?
    Voting Booth?