Re: passing GET parameter that has '&' sign
| From: | Sune Rievers | Date: | Wed, 13 Oct 2004 12:06:15 +0000 |
| Subject: | Re: passing GET parameter that has '&' sign | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-199361@lists.php.net to get a copy of this message | ||
input must be urlencoded - see http://www.php.net/urlencode for details.
Regards,
Sune Rievers
On Wed, 13 Oct 2004 18:23:25 +0800, Suka Ada, I Nyoman
<sekali@kejadian.or.id> wrote:
> hi,
> I am wondering how do we pass a GET value that has '&' sign..
> let's say I have this:
>
> process.php?mode=test&url=http://someurl.com/index.php?a=10&b=200n(ßÎ
> µm%�N;ªTäå
>
> that way, process.php will have three variables:
> $_GET['mode'] ( = 'test' )
> $_GET['url'] ( =
> 'http://someurl.com/index.php?a=10' )
> $_GET['b'] ( = '200' )
>
> But I actually want the variables only two:
> $_GET['mode'] ( = 'test' )
> $_GET['url'] ( =
> 'http://someurl.com/index.php?a=10&b=200' )
>
> how to accomplish this?
>
> *I hope my question's not confusing.
>
> Thanks and regards,
> Guido
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>