CodeIgniter icon indicating copy to clipboard operation
CodeIgniter copied to clipboard

开源 PHP 框架 CodeIgniter 中国社区分支

Results 15 CodeIgniter issues
Sort by recently updated
recently updated
newest added

$route['default_controller'] = 'index/home'; this index is a folder and the home is a controller in it, but when I ran the code, the page showed "The page you requested was...

Session_memcached_driver.php 里, $this->_memcached->getServerList()为空,导致无法保存session

When you set $config['enable_query_strings'] = TRUE; in config/config.php Then your default_controller will not work, even you've set these parameters. $route['default_controller'] = 'home'; $route['404_override'] = '';

我的电脑只安装了mysql,没有安装过oracle的客户端产品 现在想用CI框架连接远程的oracle数据库,修改了php.ini文件后,重启xampp后 出现没有oci.dll这个库 我想知道有什么解决办法吗?

there are many database operation on a controller. every db operation operate by clone ($_db = clone $this -> db). the page show some notice: # A PHP Error was...

解决方法很简单,在forcedownload函数中,当判断客户端为IE时,将文件名使用rawulrencode()函数重新编码一下就可以了。。

提交数组类型的数据到服务器,例如names[],没有在校验规则中添加required规则,而只是添加了一个min_length[3]的校验规则,如果提交的names[0]是一个空字符串,那么校验是不能通过的,提示字符长度至少需要三个字符。这和校验单个值的情况并不一致。

http://codeigniter.org.cn/forums/forum.php?mod=viewthread&tid=18823

如果需要默认被选中的值是很长的一个数字串的时候如:10011001100110011001.选择的值就不准确了.需要将form_dropdown函数中的这个in_array($key, $selected)改为in_array($key, $selected,true)