RE: [PHP] $_POST var name char conversion "." to "_"

From: Date: Wed, 10 Dec 2003 16:29:17 +0000
Subject: RE: [PHP] $_POST var name char conversion "." to "_"
Groups: php.general 
Request: Send a blank email to php-general+get-172352@lists.php.net to get a copy of this message
On 10 December 2003 16:19, ROBERT MCPEAK contributed these pearls of wisdom: > Has anybody seen the seemingly automatic and unexplained > conversion of the character "." to "_" in $_POST var names? Yes. It's PHP automagic by PHP. > I've tested several ways, with and without PHP, and I've dug > around in the HTML specs and can't find a good explanation. > Can anybody shed some light on this? Can this be overridden? It's explained at http://uk2.php.net/manual/en/language.variables.external.php#language.variab les.external.dot-in-names, and no, it can't be overridden. Cheers! Mike -- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: m.ford@leedsmet.ac.uk Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211

« previous php.general (#172352) next »