![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
An example link is <a href="subpage.pl">Info</a> and obviously calls a perl script with no options. I would like to call that same script from a list of links but with some different value that the script would be able to use to bring up the proper info. |
#3
| |||
| |||
|
|
Gazing into my crystal ball I observed araminska <none (AT) nowhere (DOT) com writing in news:13oi5qscp6rucfd (AT) corp (DOT) supernews.com: An example link is <a href="subpage.pl">Info</a> and obviously calls a perl script with no options. I would like to call that same script from a list of links but with some different value that the script would be able to use to bring up the proper info. a href="subpage.pl?q=value">Info</a> then have your script look at the querystring. |

#4
| |||
| |||
|
|
On Sat, 12 Jan 2008 19:44:47 +0000, Adrienne Boswell wrote: Gazing into my crystal ball I observed araminska <none (AT) nowhere (DOT) com writing in news:13oi5qscp6rucfd (AT) corp (DOT) supernews.com: An example link is <a href="subpage.pl">Info</a> and obviously calls a perl script with no options. I would like to call that same script from a list of links but with some different value that the script would be able to use to bring up the proper info. a href="subpage.pl?q=value">Info</a> then have your script look at the querystring. Thanks much. Worked great. Althought, interestingly enough, now that I know how to do it, I STILL can't find the answer in either of my HTML books. That method appears to be so common that everybody knows about it and mentioning it in a manual is not needed, or it is never used and nobody cares. |
#5
| |||
| |||
|
|
On Sat, 12 Jan 2008 19:44:47 +0000, Adrienne Boswell wrote: Gazing into my crystal ball I observed araminska <none (AT) nowhere (DOT) com writing in news:13oi5qscp6rucfd (AT) corp (DOT) supernews.com: An example link is <a href="subpage.pl">Info</a> and obviously calls a perl script with no options. I would like to call that same script from a list of links but with some different value that the script would be able to use to bring up the proper info. a href="subpage.pl?q=value">Info</a> then have your script look at the querystring. Thanks much. Worked great. Althought, interestingly enough, now that I know how to do it, I STILL can't find the answer in either of my HTML books. |
#6
| |||
| |||
|
|
Thanks much. Worked great. Althought, interestingly enough, now that I know how to do it, I STILL can't find the answer in either of my HTML books. That method appears to be so common that everybody knows about it and mentioning it in a manual is not needed, or it is never used and nobody cares. |
#7
| |||
| |||
|
|
araminska wrote: Thanks much. Worked great. Althought, interestingly enough, now that I know how to do it, I STILL can't find the answer in either of my HTML books. That method appears to be so common that everybody knows about it and mentioning it in a manual is not needed, or it is never used and nobody cares. As far as HTML is concerned, a URL is a URL. It doesn't matter if it has a query string or not. |
![]() |
| Thread Tools | |
| Display Modes | |
| |