is magic_quotes_gpc on?
The PHP directive magic_quotes_gpc is on by default, and it essentially runs addslashes() on all GET, POST, and COOKIE data. Do not use addslashes() on strings that have already been escaped with magic_quotes_gpc as you'll then do double escaping. The function get_magic_quotes_gpc() may come in handy for checking this.
http://us2.php.net/manual/en/ref.inf...gic-quotes-gpc




Reply With Quote