> 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, if you have register globals on, it would try to create a
variable of "$aa bb" which doesn't make sense, or "$aa.bb" which doesn't
make sense, either, because the dot is a concatinator.

---John Holmes...


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

Reply via email to