Gossamer Forum
Home : General : Perl Programming :

Passing Variables Using A Link

Quote Reply
Passing Variables Using A Link
I would like to pass five variables to a cgi script using a link. I know how to do it using a form, but have never tried with a link. Can anyone offer advise or point me to a good source of information on how to do this? Thanks
Quote Reply
Re: Passing Variables Using A Link In reply to
Assuming your script will accept information passed via a link (not all do), use:

script.cgi?name1=value1&name2=value2&name3=value3

etc. You must replace spaces with +'s as well.

Hope this helps,

Alex