Diable magic quotes gpc

hi all

i tried this below code in my xampp in htaccess to disable magic quotes

php Ver 5.2.5


php_flag magic_quotes_gpc off

The result of phpinfo()


Directive		 Local value		Master value
magic_quotes_gpc	Off			On

Does the master value always remain “ON”.

Or is it required to make the master value “OFF”.

If yes then how can SET master value “OFF”

Secondly i would like to know whether it is mandatory to put the above line on top in htaccess

vineet

Yes, when using the method you have picked.

Or is it required to make the master value “OFF”.

No.

If yes then how can SET master value “OFF”

Edit php.ini directly.

Secondly i would like to know whether it is mandatory to put the above line on top in htaccess

Not mandatory.