"Chris" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED].;
> 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 /





-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to