Reply to Re: Mysterious \'

Your name:

Reply:


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/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация