I get a lot of confusing reports about being able to turn of register_globals with an .htaccess file, so what I wanted to know finally is can you turn them OFF with a .htaccess file

I tried this myself and when I looked in the phpinfo file on my providers server under LOCAL VALUE it said OFF

and under MASTER VALUE it said On so I presume that Register Globals where then off on my account

Ok one last thing I changed the file back and uploaded the .htaccess file so register globals where set to ON again and then I changed to OFF and uploaded it again, and now the phpinfo file is still saying on, even thou I have deleted all temp internet files.

Strange does anyone know what I am doing wrong?

    changing php.ini directives via htaccess only works when running PHP as an Apche module. run [man]phpinfo[/man] an look under "Server API" to check.

      Write a Reply...