Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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).


Comment on Re: Passing Variables in CGI
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://24068]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2015-04-27 10:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who makes your decisions?







    Results (498 votes), past polls