![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
CodeIgniter学习
飞翔的荷兰人
这个作者很懒,什么都没留下…
展开
-
CodeIgniter自定义配置文件
在application/config/添加一个新文件,如myconfig.php在文件添加代码如下: $config["has_share_userid"]= array("huangtt","xufz","chenf","yangx","xuf","caoxl","gaohd","huangjt");?>在控制器的引用配置文件代码:$this->confi原创 2013-09-12 11:17:37 · 963 阅读 · 0 评论 -
用ci框架遇到的错误一
An Error Was EncounteredIn order to use the Session class you are required to set an encryption key in your config file.第一次使用session的时候出现这个错误,提示需要加个密钥才能使用。打开application/config下面的config.php 文原创 2013-10-24 14:56:11 · 583 阅读 · 0 评论 -
ci框架ajax分页
1.ci的分页类<?phpif(!defined('BASEPATH')) exit('No direct script access allowed');/** * CodeIgniter * * An open source application development framework for PHP 4.3.2 or newer * * @package Code原创 2014-11-01 11:22:02 · 1718 阅读 · 0 评论