seems like magic_quotes_gpc is turning itsself on!

From: Date: Tue, 21 Oct 2003 09:43:16 +0000
Subject: seems like magic_quotes_gpc is turning itsself on!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-166921@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi All, I have a strange problem with one of the sites i work on and provide support for. I the following block of code that checks to see if magic_quotes_gpc is enabled and if it is it dies with an error message: if((integer)ini_get('magic_quotes_gpc')!=0){
~    debug('Magic Quotes GPC is currently active. Please disable.');
} The debug functoin just displays a sorry message on the browser and emails the description and the serialized $GLOBALS variable back to me. in the php.ini i have the following: ; Magic quotes for incoming GET/POST/Cookie data. magic_quotes_gpc = Off Now every so often say at most 1 in 100 hits a user will see the sorry screen and i get a call back email and every time its the same issue 'Magic Quotes GPC is currently active. Please disable.' Anybody have any ideas on where to look? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/lP+zzSfrYDJMXmERAsiiAJ47tIqPJAnleJ8IuWNqsiStD7lOwgCfcO2n ooo0+PKIf5T96UoWcqIQVWc= =hIFY -----END PGP SIGNATURE-----

« previous php.general (#166921) next »