Re: [PHP] passing GET parameter that has '&' sign

2004-10-13 Thread Sune Rievers
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 <[EMAIL PROTECTED]> wrote: > hi, > I am wondering how do we pass a GET value that has '&' sign.. > let's say I have this: > > process.php?mode=tes

Re: [PHP] passing GET parameter that has '&' sign

2004-10-13 Thread Suka Ada, I Nyoman
that solved it! thanks alot Stefan. -Guido Stefan Dengscherz wrote: Hello, you might try using the urlencoded version of the '&' sign which is '%26'. Works perfectly for me ;) Best regards, -sd On Wed, Oct 13, 2004 at 06:23:25PM +0800, Suka Ada, I Nyoman wrote: hi, I am wondering how do we pass a G

[PHP] passing GET parameter that has '&' sign

2004-10-13 Thread Suka Ada, I Nyoman
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']