Posted by Andy Hassall on 06/03/07 22:57
On Sun, 03 Jun 2007 15:34:07 -0700, Jeremy <jeremy@pinacol.com> wrote:
>I've noticed that a dot in a POST parameter name - i.e.
>
><input name="person.first_name" type="text">
>
>get converted to an underscore when populated into $_POST. Presumably
>this is a throwback to register_globals, as the programmer would not be
>able to access the variables unless the dots were stripped (since dots
>are concatenation in PHP). However, since register_globals is pretty
>much never used, I thought there might be a way to turn this off via
>php.ini.
There isn't.
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
[Back to original message]
|