I have a site that was working, but now I am having issues because PHP Magic Quotes are turned ON. What is the best way to get Magic Quotes turned off.
I have added the following code to the .htaccess file in the root directory of the website (there are several other .htaccess files in subdirectories that do not have the code):
############################################
## disable magic quotes for php request vars
php_flag magic_quotes_gpc off
Now whenever I try to save data that was entered in a text area it is getting alot of extra slashes (\) and " added to it. This is causing my Magento site to not display content correctly. As I said, when I first installed the site, everything was working correctly, then all of a sudden, it started adding the extra characters.
Is there a way to turn Magic Quotes off in my Linux Control Panel?
I have added the following code to the .htaccess file in the root directory of the website (there are several other .htaccess files in subdirectories that do not have the code):
############################################
## disable magic quotes for php request vars
php_flag magic_quotes_gpc off
Now whenever I try to save data that was entered in a text area it is getting alot of extra slashes (\) and " added to it. This is causing my Magento site to not display content correctly. As I said, when I first installed the site, everything was working correctly, then all of a sudden, it started adding the extra characters.
Is there a way to turn Magic Quotes off in my Linux Control Panel?