时间:2021-07-01 10:21:17 帮助过:32人阅读
在 .htaccess 加入两句就可以开启 register_globals 同 magic_quotes:
php_flag register_globals on
php_flag magic_quotes_gpc on
在 .htaccess 加入两句就可以关闭 register_globals 同 magic_quotes:
php_flag register_globals off
php_flag magic_quotes_pc off
原文:http://www.francissoung.com/biancheng/228.html
参考:http://www.ismarthost.com/bill/knowledgebase.php?action=displayarticle&id=316
以上就介绍了利用 htaccess 打开 / 关闭 register_globals 及 magic_quotes_gpc,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。