Re: Magic quotes good or Bad?

From: Date: Wed, 05 Apr 2006 23:31:40 +0000
Subject: Re: Magic quotes good or Bad?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-233307@lists.php.net to get a copy of this message
tedd wrote:
I do it by placing a text file at root named ".htaccess" with the following php_value magic_quotes_gpc 0 php_value magic_quotes_sybase 0 php_value magic_quotes_runtime 0 Only works if your web server allows you to do this. In Apache the controlling option for this is:
<Directory /path/to/www> AllowOverride All </Directory> You should note in a virtual hosting environment, this is typically disabled. See http://httpd.apache.org/docs/2.0/mod/core.html#allowoverride Regards, Peter Hoskin

« previous php.general (#233307) next »