From: "William Bailey" <[EMAIL PROTECTED]> > 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.'
Is it only for certain pages or random ones? Examing $GLOBALS doesn't give any clues, I presume? Nothing strange in the query string, etc? ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php