Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

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 chanting in the Monastery: (8)
As of 2015-11-26 06:35 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (696 votes), past polls