Bug #4399: With no php3.ini, magic_quotes_gpc is 'Off'. With one, it's default is 'On'.
| From: | wilsonjb at library2 dot webster dot edu | Date: | Thu, 11 May 2000 15:43:32 +0000 |
| Subject: | Bug #4399: With no php3.ini, magic_quotes_gpc is 'Off'. With one, it's default is 'On'. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18613@lists.php.net to get a copy of this message | ||
From: wilsonjb@library2.webster.edu
Operating system: Red Hat Linux
PHP version: 3.0.15
PHP Bug Type: Documentation problem
Bug description: With no php3.ini, magic_quotes_gpc is 'Off'. With one, it's
default is 'On'.
I'm not sure if it's correct to describe this a documentation problem, but it is a case
where the documentation disagrees with the reality.
The documentation indicates that:
"All the values in the php3.ini-dist file correspond to the builtin defaults (that is, if no
php3.ini is used, or if you delete these lines, the builtin defaults will be identical)." --
from the comments at the top of php3.ini-dist
I found this to be untrue in the case of magic_quotes_gpc, which was Off until I copied
php3.ini-dist to php3.ini (The only change I made was to add this line: gpc_order = "GP").
--Joyce Wilson