Allowing . in $_POST variable

From: Date: Tue, 28 Jan 2003 18:50:41 +0000
Subject: Allowing . in $_POST variable
Groups: php.general 
Request: Send a blank email to php-general+get-133407@lists.php.net to get a copy of this message
Hi all: I filled a bug today that quickly got resolved invalid, but I think it deserves another look. I had a bit of a problem today with "." getting converted to "_" for my variable names automatically. I have been told that this was because if you have register_globals on, then you can't have a variable with a . in its name. Fair enough. However, since that's now considered to be bad practice, it would make sense to me that this "feature" get another look. I can see no logical reason to not allow . in the global $_POST variable... Basically, what I'd like is to be able to post a form element with id="myvariable.whatever" and access it on the next page with $_POST["myvariable.whatever"]. Comments are appreciated. Mike

« previous php.general (#133407) next »