in reply to How to make a <a href> link run a CGI script while passing parameters?
http://mysite.com/my.cgi?variable1=my%20value&variable2=othervalue
If you look up the HTTP & CGI specs, you will see the significans of the ? + % and & symbols. ? saying, "this is where my url location ends, the rest is variable assignments. + are spaces encoded. %## is a urlencoded character, useful for passing spaces, pluses and ANYTHING. & is a variable assignment seperator. = of course, is how you assign a value to a variable.
Tnx Podmaster for the HTTP/CGI correction
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: Re: How to make a <a href> link run a CGI script while passing parameters?
by merlyn (Sage) on May 12, 2004 at 15:54 UTC |