Re: passing GET parameter that has '&' sign

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx> 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=200
> 
> 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
> 
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux