Passing values containing a ? and a &
| From: | Tom Harris | Date: | Thu, 22 Feb 2001 19:11:49 +0000 |
| Subject: | Passing values containing a ? and a & | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-41197@lists.php.net to get a copy of this message | ||
I want to assign a value using the url however the value contains both a ?
and an & so PHP (or the browser) seems to get confused.
Here's an example:
http://www.mysite.com/index.php?id=23&url=http://www.anothersite.com/file.ph
p?qid=234&forum=4
Everything after url= should be the value of $url but this is not the case.
Is there a way to solve this?
Thanks