Re: Single quotes verses double quotes default behavior with DW --------> (Pretty much 0T )
| From: | Jochem Maas | Date: | Wed, 28 Jun 2006 16:55:16 +0000 |
| Subject: | Re: Single quotes verses double quotes default behavior with DW --------> (Pretty much 0T ) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-238815@lists.php.net to get a copy of this message | ||
Jay Blanchard wrote:
> [snip]
>> 1. Turn magic_quotes OFF -- it's just a PITA anyway.
>
> if magic_quotes_gpc is on in the php.ini and you don;t have the
> access to change this then you have a problem if your code doesn't do
> something to counter it.
> [/snip]
by the time your script can call an ini_set() on magic_quotes_gpc
the magic quoting will have occurred. so that doesn't help.
note that values set via ini_set() are only valid for the current request.
my point about not having access to change the value referred to
not being able to change php.ini or override the value in a .htaccess
>
> http://www.php.net/ini_set
> http://www.php.net/manual/en/ini.php#ini.list
>
>