Re: Bizarre Quotes Behavior
| From: | Jason Wong | Date: | Fri, 11 Apr 2003 13:54:04 +0000 |
| Subject: | Re: Bizarre Quotes Behavior | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143496@lists.php.net to get a copy of this message | ||
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().
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
We have found all life forms in the galaxy are capable of superior
development.
-- Kirk, "The Gamesters of Triskelion", stardate 3211.7
*/