Re: DataObject adding extra slashes
| From: | Justin Patrin | Date: | Thu, 31 Mar 2005 17:21:50 +0000 |
| Subject: | Re: DataObject adding extra slashes | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-18440@lists.php.net to get a copy of this message | ||
On Thu, 31 Mar 2005 10:28:02 +0200, bertrand Gugger <bertrand@toggg.com> wrote:
> Hi !
> Dan Rossi wrote:
>
> > cheers, i'll just turn it off with ini_set :)
>
> Is it not too late :) ?.
> When control is passed to the script the "magie" is done.
>
> > On 31/03/2005, at 3:04 AM, Justin Patrin wrote:
> >
> >> Magic quotes is really not something that should be used.
> >
> Unfortunately, hosted don't choose :(
You *should* be able to set this in a htaccess file. If you can't, you
should ask your hosting provider to turn it off or give you enough
rights to set it via htaccess. If you can't get that you should get
another hoster. If all else fails you should clean your GET, POST,
REQUEST, and COOKIE arrays before you do anything with the data if
magic_quotes_gpc is on.
--
Justin Patrin