Re: Magic quotes good or Bad?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux