add a note add a note

User Contributed Notes 4 notes

8 years ago
You can use the ini_set() function to set a directive's  value in your scripts provided the "CHANGEABLE" attribute in the above chart is PHP_INI_USER or PHP_INI_ALL.
ensnared at gmail dot com
8 years ago
In .htaccess, only true/false on/off flags can be set using php_flag. To set other values you need to use php_value, like this:

php_value upload_max_filesize 20M
9 years ago
add settings to a .htaccess file with 'php_flag' like this:

php_flag register_globals off
php_flag magic_quotes_gpc on
russell <at> loosenut <dot> com
8 years ago
In order for these settings to work in your htaccess file, you will need to add "Options" to your AllowOverride specifications for the directory/webserver if it's not already allowed.
To Top
веселые картинки развлекательные гифки интресные факты смешные видео смешные истории из соцсетей