Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 contemplating the Monastery: (7)
As of 2014-12-18 01:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (41 votes), past polls