Re: WinXP Error Passing Variables (and creating)

From: Date: Thu, 28 Feb 2002 06:42:44 +0000
Subject: Re: WinXP Error Passing Variables (and creating)
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-12337@lists.php.net to get a copy of this message
"Chris" <chris@earleweb.com> wrote in message news:20020219235422.85778.qmail@pb1.pair.com... > PHP version: 4.1.1 Version 4.1's "php.ini-recommended" file defaults to: register_globals = Off ...an important change from earlier versions as I recall. This will prevent variables from being auto-created. Use $_POST['varname'] or $HTTP_POST_VARS['varname'], or change that value to "On" and restart your server. The given reason for this change was that by simply using $varname you cannot be sure the user didn't append a GET variable to the URL, possibly overriding your POST variable's value, or creating a value for an internally created variable name. - Steve Yates - If only women came with pull-down menus and on-line help... / Taglines by Taglinator - www.srtware.com /

« previous php.windows (#12337) next »