Question: How to switch the magic_quotes off?
Answer: To switch the magic_quotes function off you should make changes in the file php.ini on your hosting account.
File php.ini might be found in ISPmanager control board – Tools – File manager – php-bin
Write the following string in the file to switch magic_quotes for incoming data GET/POST/Cookie off:
magic_quotes_gpc = Off
Magic quotes for data that is incoming at the time of executing (for example, data from SQL, exec() etc.):
magic_quotes_runtime = Off
Using magic quotes in Sybase style (screening ‘ by using ” instead of \’):
magic_quotes_sybase = Off
If you have no possibility to make changes in server configuration you should use the file .htaccess as alternative. It is in the directory www/domain_name.
You should add the following string to the file:
php_flag magic_quotes_gpc Off