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.

  • 不限制搭建网站个数
  • 24/7 Live Support
  • 简单易用的建站助手
  • 2倍的WordPress 优化速度
  • 30-Days Money-Back Guarantee
Grab the limited time deal!
28
00
CNH /月
156.00CNH
84.00CNH for 3 months
Save 46%
开始