PDA

View Full Version : magic_quotes_gpc


lamkt3
11-07-2002, 12:59 AM
I am trying to get magic_quotes_gpc to turn off on a web server which I don't own. I tried

<?
set_magic_quotes_runtime(0);
$magic = get_magic_quotes_gpc();
echo($magic);
?>


The result is "1".

What am I doing wrong?

roninblade
11-07-2002, 01:03 AM
you should use get_magic_quotes_runtime to get the current active configuration. ;)

lamkt3
11-07-2002, 01:12 AM
Thanks, I figured it was something obvious I was doing wrong...
:rolleyes: