All Collections
Features
Supported Technologies and Functions
How to disable magic quotes? (by using .htaccess)
How to disable magic quotes? (by using .htaccess)
Darius G. avatar
Written by Darius G.
Updated over a week ago

The magic_quotes_gpc directive can be disabled by adding this line to your .htaccess file in the directory, where you want the magic_quotes disabled:

php_flag magic_quotes_gpc off

.htaccess file is located in your public_html folder, on your FTP.

Did this answer your question?