passing GET parameter that has '&' sign

From: Date: Wed, 13 Oct 2004 10:23:25 +0000
Subject: passing GET parameter that has '&' sign
Groups: php.general 
Request: Send a blank email to php-general+get-199355@lists.php.net to get a copy of this message
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

« previous php.general (#199355) next »