RE: [PHP] Bizarre Quotes Behavior

From: Date: Sat, 12 Apr 2003 02:00:12 +0000
Subject: RE: [PHP] Bizarre Quotes Behavior
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-143499@lists.php.net to get a copy of this message
> -----Original Message----- > From: Jason Wong [mailto:php-general@gremlins.biz] > Sent: Friday, April 11, 2003 9:54 AM > To: php-general@lists.php.net > Subject: Re: [PHP] Bizarre Quotes Behavior > > > On Saturday 12 April 2003 09:45, Mike At Spy wrote: > > > > What's your magic_quotes_sybase directive set to? I > > > am guessing it along with magic_quotes_gpc is on and > > > that you also addslashes() data before inserting > > > into the database. So, you escape ' twice. > > > > You are right about that on both counts. If so, is there a workaround? > > > > If I have to turn off magic quotes, can I do that without having to > > recompile PHP? > > No. manual > ini_set(). > Well, that's cool. :) -Mike

« previous php.general (#143499) next »