PDA

View Full Version : How do I disable php EXPLAIN function?


Quarterbore
06-06-2007, 10:44 AM
I have noticed that I have had a few hits using a URL with an URL with an &explain=1 and I know this only works when the debug mode is turned on. I would like to be able to "kill" this explain function as I often leave my debug mode on for days at a time when I am working on my site but I noticed a siazable number of hits on my site using the &explain=1 tacked onto the URL which makes me uncomfortable.

Has anybody tried to address this in the past? I figure I could reset the variable somewhere (perhaps as easy as going it in the config or global files) but I figured I would ask before I start hacking.