Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 meditating upon the Monastery: (13)
As of 2015-07-30 23:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls