|
Posted by Alan Little on 02/05/06 15:40
Carved in mystic runes upon the very living rock, the last words of Paul
Haxter of comp.lang.php make plain:
> It is caused by a setting in the PHP configuration file called
> magic_quotes_gpc. If this is turned on (which it is by default), all '
> (single-quotes), " (double quotes), and \ (backslashs) are escaped with
> a backslash automatically in the GET, POST, and COOKIE globals.
Is it still on by default? I thought they changed that. IMO it's the
stupidest feature ever designed in PHP. Sure, it saves the step of having
to add slashes, but adds the step of having to remove them. It smacks of
MS: "We know best what you want to do with your data!"
--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
Navigation:
[Reply to this message]
|