Re: DataObject adding extra slashes
| From: | Robin Ericsson | Date: | Wed, 30 Mar 2005 17:09:52 +0000 |
| Subject: | Re: DataObject adding extra slashes | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-18417@lists.php.net to get a copy of this message | ||
Justin Patrin wrote:
If you can't turn off magic_quotes (which I strongly suggest you do) then you should run stripslashes in your $_POST array before using it. (Additionally you should do the same on $_GET, $_REQUEST, and $_COOKIE if you use them).Richard Heyes wrote a good summary on it: http://www.phpguru.org/#24 -- Robin Ericsson http://robin.vill.ha.kuddkrig.nu/