1、addslashes() 在预定义字符串前添加反斜杠 magic_quotes_gpc=on 对get/post提交的数据自动转义
get_magic_quotes_gpc() 获取php是否开启自动转义
stripslashes() 吧转义字符前反斜杠删除
print_r(ini_get_all);获取php.ini配置
字符串操作函数5!!
原文:http://www.cnblogs.com/muxiaoye/p/b5d73091edccd95a973f57d40f74a3bf.html