Asked 30+ days ago
27 Nov 2016
Views 212

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


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

Mitul Dabhi
answered Jan 23 '18 20:16

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