知识库

查找有关信息特性、故障排除指南、
以及关涉虚拟主机服务其他技术信息的文章。

How to disable magic quotes? (by using .htaccess)

引用:
magic quote magic_quotes_gpc magic_quotes

The magic_quotes_gpc directive can be disabled by adding this line to your .htaccess file in the directory, where you want the magic_quotes disabled:

php_flag magic_quotes_gpc off

.htaccess file is located in your public_html folder, on your FTP.