tedd wrote:
Hi gang:
Please excuse me for asking another dumb-ass question, but here goes.
I'm finding that setting safe_mode to ON is more difficult than I first
thought.
In my phpinfo, safe_mode is set to OFF
However, if I try to set it to ON in my ".htaccess" such as:
php_value safe_mode 1
It doesn't work.
If I set it in my code, such as:
ini_set( 'safe_mode', '1' );
It still doesn't work.
You would think the fine manual would explain this here:
http://us3.php.net/manual/en/features.safe-mode.php
Table 42-1. Security and Safe Mode Configuration Directives
Name: safe_mode
Default: "0"
Changeable: PHP_INI_SYSTEM
but you have to look here
http://us3.php.net/manual/en/ini.php
to find just what PHP_INI_SYSTEM means:
Table G-2. Definition of PHP_INI_* constants
Constant: PHP_INI_SYSTEM
Value: 4
Meaning: Entry can be set in php.ini or httpd.conf
i.e. *not* in .htaccess or by ini_set()
--John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php