I'm trying to disable php.ini directive track_vars
from .htaccess
. I use this command
php_flag track_vars 0
On the first line of my .htaccess
file. I don't get any errors but when I open my index with this code inside
print_r($_COOKIE);
I get the $_COOKIE
array. From the manual:
track_vars boolean
If enabled, then Environment, GET, POST, Cookie, and Server variables can be found in the global associative arrays $_ENV, $_GET, $_POST, $_COOKIE, and $_SERVER.
So what I want to do is NOT populate those arrays automatically. What am I doing wrong?