Re: Re: Magic Quotes

From: Date: Fri, 23 Feb 2007 20:16:26 +0000
Subject: Re: Re: Magic Quotes
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-249313@lists.php.net to get a copy of this message
> 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() One other possible scenario: You *think* you've turned off all those Magic Quote things, but you are using PHP as a Module, and forgot to re-start Apache, so you really didn't turn them off. Confirm 100% sure with <?php phpinfo();?> that Magic Quotes really really are OFF. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?

« previous php.general (#249313) next »