I'd say that good programming practice would be to not depend on magic quotes, and write your code as portable as possible.
Okay, PHP is enabled with Magic Quotes (so you don't have to escape funky characters in MySQL data). Works perfectly fine with an INSERT statement, doesn't work at all with an UPDATE statement. I still have to use addslashes() when updating a MySQL row. Is this normal or am I missing something?
I'd say that good programming practice would be to not depend on magic quotes, and write your code as portable as possible.
Bookmarks