[imp] magic_quotes on/off

Anil Madhavapeddy anil@recoil.org
Fri, 15 Dec 2000 22:32:57 +0000


Quoting Krzysztof von Mach <krismach@pair.com>:

> 
> The reason is that I do have some php applications that actually want 
> magic_quotes on, like phpMyAdmin...
> 

You can turn magic_quotes_gpc on and off on a per-file, per-directory,
per-virtualhost (etc) basis, if you use Apache.

Just put something like

(for php3)
<Directory where/you/installed/horde/imp>
  php3_magic_quotes_gpc off
</Directory>

(for php4)
<Directory where/you/installed/horde/imp>
  php_flag magic_quotes_gpc false
</Directory>

-- 
Anil Madhavapeddy, <anil@recoil.org>