Re: Allowing . in $_POST variable
| From: | Adam Voigt | Date: | Tue, 28 Jan 2003 18:53:49 +0000 |
| Subject: | Re: Allowing . in $_POST variable | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133408@lists.php.net to get a copy of this message | ||
Well I think using periods in variable names in general is a no-no, but
other
then being a little out-of-the-norm I see no reason why you shouldn't
be allowed to.
P.S. OEOne is sweeeeet software, good job.
On Tue, 2003-01-28 at 13:50, Mike Potter wrote:
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Adam Voigt (adam@cryptocomm.com)
The Cryptocomm Group
My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc