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

2003-01-24 Thread Marek Kilimajer
You can use $_SERVER['QUERY_STRING'] Per wrote: 1lt John W. Holmes wrote: 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']? That's just what PHP does. It'll als

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

2003-01-24 Thread Per
1lt John W. Holmes wrote: 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']? That's just what PHP does. It'll also convert any periods in a form element name to an un

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

2003-01-23 Thread 1LT John W. Holmes
> 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']? That's just what PHP does. It'll also convert any periods in a form element name to an underscore. Otherwise, i

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

2003-01-23 Thread Jon Haworth
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 dod