Tags
Asked 30+ days ago
27 Nov 2016
Views 147
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 Jan 23 '18 20:17


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


Edit Answer
Share
Post Answer