"Adam Bregenzer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Having a function to undo magic quotes can be very useful if you > distribute your application. Here is what I use, just call > disable_magic_quotes(). It should not do any damage if magic_quotes is > already disabled.
<snipped code> Looks pretty good to me, and it is a little more robust than my solution since it checks for the existence of objects, and also sets the magic_quotes_gpc ini setting to 0 after escaping them. However, I am still interested in knowing if my code is broken in any way. It seems to work fine for me, but as per my original post, I did get this one odd behavior, with HTTP_RAW_POST_DATA being set, but _POST being an empty array. Any thoughts? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php