RE: [PHP] $_GET space in index changed to underscore

From: Date: Thu, 23 Jan 2003 16:47:10 +0000
Subject: RE: [PHP] $_GET space in index changed to underscore
Groups: php.general 
Request: Send a blank email to php-general+get-132860@lists.php.net to get a copy of this message
Hi Per, > Anyone who knows why get variables whit spaces in looking like this in > the URL blah.php?aa+bb=1 is changed to aa_bb in $_GET resulting in > $_GET['aa_bb'] instead of $_GET['aa bb']? I don't think spaces are legal in variable names - PHP's probably just trying to recover from the dodgy data it's getting. Cheers Jon

« previous php.general (#132860) next »