It is a basic requirement from Joomla 3.0 onwards to disable the magic_quotes_gpc. Otherwise, whenever a form was posted on the server, PHP would automatically escape quotes with a preceding slash.
Disable magic_quotes_gpc on htaccess
Some hosting providers do allow you to turn this option off just by overriding the settings in the .htaccess file.
- Login to your account using SSH.
Use your favorite text editor to modify the
.htaccessfile.php_flag magic_quotes_gpc off- Save the changes and exit the text editor.
- Verify the changes in the Joomla PHP information.
Disable magic_quotes_gpc on php.ini
Some hosting providers do allow you to create a php.ini file in the document root to override the default php.ini settings.
- Open the
php.inifile using your favorite text editor. - Find the magic_quotes_gpc in the php.ini file.
Change it from On to Off.
magic_quotes_gpc=off- Save the changes and verify the changes in the Joomla PHP information.
If you are unsure how to do this, it's best to contact your hosting provider for clarification.