Req #16966 [Opn->Bgs]: convert form item names to "_" only for $GLOBALS, not for $HTTP_POST_VARS

From: Date: Wed, 22 Dec 2010 14:05:08 +0000
Subject: Req #16966 [Opn->Bgs]: convert form item names to "_" only for $GLOBALS, not for $HTTP_POST_VARS
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-157250@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=16966&edit=1 ID: 16966 Updated by: johannes@php.net Reported by: danny dot milo at gmx dot net Summary: convert form item names to "_" only for $GLOBALS, not for $HTTP_POST_VARS -Status: Open +Status: Bogus Type: Feature/Change Request -Package: Feature/Change Request +Package: *General Issues Operating System: Linux PHP Version: 4.2.0 Block user comment: N Private report: N New Comment: Duplicate of #34882 Previous Comments: ------------------------------------------------------------------------ [2002-05-02 09:52:44] danny dot milo at gmx dot net Hi! I've been wondering for some time now: Why its it that "." in form item names is _always_ converted to a "_" character? It would be sufficient to do so just in the global variables (for register_globals = On), but why too for $HTTP_POST_VARS["t_table.4322.some_field"] ? Its a hell to convert that back... I will switch to using arrays for form items now ($HTTP_POST_VARS["tables"]["t_table"][4322]["some_field"]), so its not important for me anymore, but according to the RFC a "." _is_ allowed in the form item's name! Well if you don't mind, please E-Mail me. Thanks :) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=16966&edit=1

« previous php.bugs (#157250) next »