url redirection problem on urls with & character
Posted: Sun May 04, 2003 7:56 am
I'm using a frame redirector and click counter system for outside linking.
Urls like:
http://www.mysite.com/framed.php?out=ht ... ersite.com
Everything is working fine.
The only problem is urls with amp (&) characters. Like:
http://www.mysite.com/framed.php?out=ht ... section=87
In this example url; the part after & character can not be included at the url which needed on the framed.php.
I mean the "out" variable takes http://www.othersite.com?id=4398 value and linking like that and of course it comes with a 404 page on other site.
How can I use & character in this situation?
It can be replaced with another character?
Urls like:
http://www.mysite.com/framed.php?out=ht ... ersite.com
Everything is working fine.
The only problem is urls with amp (&) characters. Like:
http://www.mysite.com/framed.php?out=ht ... section=87
In this example url; the part after & character can not be included at the url which needed on the framed.php.
I mean the "out" variable takes http://www.othersite.com?id=4398 value and linking like that and of course it comes with a 404 page on other site.
How can I use & character in this situation?
It can be replaced with another character?