I set the "magic_quotes_gpc" with the value "on" in php.ini,just like the following:
; Default Value: On
; Development Value: Off
; Production Value: Off
; http://php.net/magic-quotes-gpc
magic_quotes_gpc = On
but it seems doesn't work and I test this with the following php code:
if(!get_magic_quotes_gpc()){
echo "hello world<br />";
}
it will always print "hello world",whether it is "on" or "off". addition,I use wampserver 2.4 in my computer!
WampServer 2.4 comes with PHP 5.4, and as the docs say, get_magic_quotes_gpc() always returns false since PHP 5.4.0, for the (horrible) feature was removed from the language. You can't have magic_quotes.