摘要: /** * 脚本程序异常捕获 */function handleError(){ global $config; $error = error_get_last(); if (isset($error['type'])) { switch ($error['typ... 阅读全文
posted @ 2015-09-07 17:05 jamesbd 阅读(150) 评论(0) 推荐(0) 编辑
摘要: /** * 发邮件** @param array $receiver 接收人信息* @param array $attachment_info 附件信息* @param string $is_html 是否html内容 默认值不是* @param string $mail_title 邮件标题*... 阅读全文
posted @ 2015-09-07 17:03 jamesbd 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 安装 igbinary 扩展(安装phpssdb扩展时候要用到--enable-ssdb-igbinary): clone https://github.com/igbinary/igbinary.git安装phpssdb 扩展 :git clone https://github.com/jon... 阅读全文
posted @ 2015-09-07 16:50 jamesbd 阅读(384) 评论(0) 推荐(0) 编辑
摘要: URI安全,CodeIgniter 严格限制 URI 中所能包含的字符,以此帮助你设计的程序减少被恶意数据入侵的可能。URI 一般只包含下列内容:字母和数字(Alpha-numeric text)波浪符(Tilde): ~句号(Period): .冒号(Colon): :下划线(Underscore... 阅读全文
posted @ 2015-09-07 16:49 jamesbd 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 该分析器将在页面下方显示基准测试结果,运行过的 SQL 语句,以及 $_POST 数据。这些信息有助于开发过程中的调试和优化。在控制器中设置以下方法以激活该分析器:$this->output->enable_profiler(TRUE);使用以下方法禁用该分析器:$this->output->ena... 阅读全文
posted @ 2015-09-07 16:48 jamesbd 阅读(333) 评论(0) 推荐(0) 编辑