Re: $_POST var name char conversion "." to "_"

From: Date: Wed, 10 Dec 2003 16:30:57 +0000
Subject: Re: $_POST var name char conversion "." to "_"
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-172353@lists.php.net to get a copy of this message
--- ROBERT MCPEAK <RMCPEAK@jhuccp.org> wrote: > Has anybody seen the seemingly automatic and unexplained conversion of > the character "." to "_" in $_POST var names? This is intentional. The "." character is not allowed in a variable name, so PHP has to translate your HTML form's variable name to a PHP one somehow, and this is what it does. Hope that helps. Chris ===== Chris Shiflett - http://shiflett.org/ PHP Security Handbook Coming mid-2004 HTTP Developer's Handbook http://httphandbook.org/

« previous php.general (#172353) next »