Asked 7 years ago
27 Nov 2016
Views 1215
jaman

jaman posted

ini_set can change magic_quotes_gpc at run time ?

i dont have system level acess so i cant change the magic_quotes_gpc , magic_quotes_sybase , magic_quotes_runtime in php.ini . basically i want to turn it off because it causing lots of problem .

i know ini_set can change value of php.ini directive . like we can use

ini_set('display_errors', '1'); 

and it works!!

can we do the same

ini_set('magic_quotes_gpc',off);

is it work ? is ini_set can disable magic_quotes_gpc or magic_quotes_sybase or magic_qutoes_runtime ?
Mitul Dabhi

Mitul Dabhi
answered Nov 30 '-1 00:00

no ini_set cant make magic_quotes_gpc to off , because its not possible to change magic quote directive at run time
Post Answer