Home > Website > How to disable magic quotes? (by using .htaccess)

How to disable magic quotes? (by using .htaccess)

You need to put this line in Your .htaccess file in the directory, where You want the magic_quotes disabled:

hp_flag magic_quotes_gpc off