redirection problem
| From: | (Sharon Spurvey) | Date: | Sat, 04 Nov 2000 03:15:49 +0000 |
| Subject: | redirection problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-23676@lists.php.net to get a copy of this message | ||
I wrote a script which tracks the clicks on certain links. It is used
such as <a href="redirect.php?target=...>etc
The problem I am having is the link which I need to track has a bunch or
get vars being attached/passed along with the url. So my redirection
link ends up looking like:
<a
href=redirect.php?target=anotherpage.php?var1=$var1&var2=$var2&var3=$var3>
It works to an extent.The target
(anotherpage.php?var1=$var1&var2=$var2&var3=$var3) get cut off at the
first ampersand (&). So all that gets passed through is
anotherpage.php?var1=$var1
Anyone have any idea what the problm could be, or maybe a better way to
do this?
thanks
mdp