Salon on Mozilla

Tuesday March 12th, 2002

A number of people have submitted this article, and while it's not really news, it's just another example of how Mozilla is starting to win people over. This is also beneficial to the evangelism efforts going on.

#25 Looks like PHPs magic quotes

by c960657

Thursday March 14th, 2002 1:04 AM

You are replying to this message

By default PHP escapes apostrophes (and a few other characters) to avoid that newbie PHP programmers by mistake make exploitable SQL queries. This feature is IMO a pain in the ass (I\'d much rather escape things explicitly), and I assume that that is what is causing the problems here.

Luckyly it can be turned off:

<…#ini.magic-quotes-runtime> <…-magic-quotes-runtime.php> I\'m sure MozillaZine admins already know this, and that there is more to it than just changing the configuration setting (e.g. that some scripts still expect the feature to be enabled).