Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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

Comment on Re: Multiple CGI parameters
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2016-02-09 18:28 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (322 votes), past polls