Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Passing Variables in CGI

by gaggio (Friar)
on Jul 24, 2000 at 18:25 UTC ( #24068=note: print w/replies, xml ) Need Help??


in reply to Passing Variables in CGI

Place your parameters at the end of the URL, after a question mark, separated by the character '&'.

For example, if I want to pass the parameters 'param1' and 'param2' with the values 'value1' and 'value2', I would do:

http://www.myurl.com?param1=value1&param2=value2
You can then access the values in the CGI after having written a function to parse the environment (it is already done for you if you use the module CGI.pm, so use this module).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://24068]
help
Chatterbox?
[Eily]: nope, Nodelet Settings doesn't let you move the XP Nodelet, CSS might
[marinersk]: That would mitigate the distraction/jangle issue, but then the information wouldn't be easy to find when it is populated. Plus, I don't currently see a way to move it, but I'm not done poking around on that point yet.
[marinersk]: Ah, you beat me to it.

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2017-05-29 14:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?