> Agreed that it's handy and easy, but it's a two-edged sword. If you write
> scripts that should be distributed on many different servers, it takes a lot
> of code to account for both settings.
>
> I'm one of those control freaks ;) that like to be in total charge about
> what data goes in and out of my application. magic_quotes most certainly
> messes with that. There are so many other converting methods in PHP that you
> need to use, magic_quotes or not, (eg. urlencode/decode), so why must
> addslashes be a default?

And that's fine.  Control freaks and people writing code for distribution
are the same people who can cope with calling get_magic_quotes_gpc() and
making their code work.

One of the main ideas behind PHP is to make it easy for new users without
limiting more experienced users.  Occasionally inconveniencing the
experienced users is unavoidable in certain cases.

-Rasmus


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to