Re: magic quotes
| From: | David Giragosian | Date: | Thu, 09 Aug 2007 13:43:32 +0000 |
| Subject: | Re: magic quotes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260511@lists.php.net to get a copy of this message | ||
On 8/9/07, Bastien Koert <bastien_k@hotmail.com> wrote:
>
>
> you could use ini_set at the top of the script to turn the magic quotes
> off...if you add this in a prepend file or a common included file that sits
> at the top of the script, it should take care of the damn magic quotes...
Why might this not work? I tried using ini_set(magic_quotes_gpc, 0 | "0" |
FALSE | "FALSE" ) and none of these worked either locally on my dev system
or on a hosting system I just started using. PHP versions were either 5.2.0or
5.2.1.
failing that ask your host to turn it off
The guy graciously did turn it off when I asked him to.
Bastien
David