#21925 [Opn->Bgs]: Should allow dots in global variables name

From: Date: Tue, 28 Jan 2003 18:39:18 +0000
Subject: #21925 [Opn->Bgs]: Should allow dots in global variables name
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-31486@lists.php.net to get a copy of this message
ID: 21925 Updated by: iliaa@php.net Reported By: mikep@oeone.com -Status: Open +Status: Bogus Bug Type: Variables related Operating System: RedHat PHP Version: 4.2.0 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php PHP variable do not support '.' characters in their name, therefor '.' cannot appear as is inside variables passed via GET/POST/COOKIE/ENV. Previous Comments: ------------------------------------------------------------------------ [2003-01-28 12:18:43] mikep@oeone.com I think that in the global $_POST that PHP should not convert my "." to "_" automatically. Eg. I had a form and posted a form element with id="calendar.defaultview", and I'd like to be able to access that with $_POST["calendar.defaultview"]. I realize that it would be inconsistent with the variable name if register_globals is on, but now that its being deprecated, this deserves another look. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21925&edit=1

« previous php.bugs (#31486) next »