Reply to Re: Dot in POST parameter name gets converted to "_"

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация