Tags
PHP
Asked 7 years ago
27 Nov 2016
Views 857
jaman

jaman posted

how to turn off magic quote in shared server ?

i have shared server hosting and i got that in php_info() function that server have magic_quote_gpc= on and magic_quote_sybase=on and magic_quote _runtime=on
and i want to make it off because it s automatically adding / to every single quote and double quote . so how can i make it of at my shared server .
Phpworker

Phpworker
answered Nov 30 '-1 00:00


try to make a new php.ini in root directory , possibly it override main php.ini
and try to magic_quote_gpc= off and magic_quote_sybase=off and magic_quote _runtime=off
if not work than you should contact to hosting provider . they will change the php.ini


Post Answer