clq

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年3月24日

摘要: //自动判断,消除魔术字符串 public function get_request_real($strings) { if(get_magic_quotes_gpc()) { $strings = public_functions::_stripslashes($strings); } return $strings; } //自动判断 //get_magic_quotes_gpc //get_magic_quotes_gpc取得 PHP 环境变量 magic_quotes_gpc 的值。语法: long get_magic_quotes_gpc(void); //返回值: 长整数函数种.. 阅读全文
posted @ 2012-03-24 21:31 clq 阅读(387) 评论(0) 推荐(0) 编辑