Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2017-10-23 13:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (279 votes). Check out past polls.

    Notices?