Re: Re: Magic Quotes

From: Date: Fri, 23 Feb 2007 19:59:42 +0000
Subject: Re: Re: Magic Quotes
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-249309@lists.php.net to get a copy of this message
On Sat, 2007-02-24 at 00:42 +0500, Fahad Pervaiz wrote: > ######ORIGINAL######## > I've got all three Magic Quote directives turned off... > When I use sql query to grab any string from a database, it still spits out > the \ in front of the special characters.. > Any ideas? > thanks > ######END ORIGINAL#### > If data stored in database has escape character '\' then use stripslashes() > > If your want to turn off automatic escaping then turn off these directive > magic_quotes_gpc > magic_quotes_runtime > magic_quotes_sybase He said he disabled 3 magic quote directives. In your response I notice you list exactly 3 directives. I wonder if they're the same three he said he disabled :| Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------'

« previous php.general (#249309) next »