note 36106 deleted from security.registerglobals by vincent
| From: | vincent@php.net | Date: | Fri, 26 Sep 2003 06:45:26 +0000 |
| Subject: | note 36106 deleted from security.registerglobals by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-57155@lists.php.net to get a copy of this message | ||
Note Submitter: Correction to John Lin's post
----
>The line you ACTUALLY want to put in your .htaccess file is
> "php_value register_globals 1" to turn register_globals "ON"
> on a per directory basis. To make it more obvious:
> the word is "php_value" oppose to "php_flag".
Not true, according to the manual under "How to change configuration settings" found here:
http://us3.php.net/manual/en/configuration.changes.php
register_globals is a directive requiring a BOOLEAN value and the manual states:
Note: Don't use php_value to set boolean values. php_flag (see below) should be used instead.