![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
CodeIgniter
文章平均质量分 55
xiaozhupiggg
这个作者很懒,什么都没留下…
展开
-
MVC模型流程初步介绍-访问页面及更改默认控制器
根目录下的 index.php是一个入口,相当于二叉树的根节点,通过这个“根节点“来转向不同的控制器controller,controller再结合不同的模型model,再通过视图viewer来实现不同操作。 模型models本质是一个类,它的位置在:网站根目录/system/application/models/madmin.php里。原创 2011-05-31 22:33:00 · 1326 阅读 · 0 评论 -
表单验证工作原理
我们来看看表单验证是如何工作的。当我们一开始载入表单验证类库时,首先设置规则: PHP $this->form_validation->set_rules(username, Username,required|alpha_numeric|min_length[6]|max_length[12]); 复制代码 第一个参数是表单域的名称。第二个参数是它的字面名称。用来显示表单转载 2011-06-20 20:21:00 · 916 阅读 · 0 评论 -
表单提交参数解析
$this->form_validation->set_rules(old_pw,旧密码,trim|required|dfilter|xss_clean); trim:功能删除字符串首部和尾部的空格。 语法Trim ( string ) 参数string:string类型,指定要删除首部和尾部空格的字符串返回值String。函数执行成功时返回删除了string原创 2011-06-20 21:45:00 · 633 阅读 · 0 评论 -
$this->form_validation->run();
$this->form_validation->run();Runs the validation routines. Returns boolean TRUE on success and FALSE on failure. You can optionally pass the name of the validation group via the function, as de原创 2011-06-21 18:35:00 · 4648 阅读 · 0 评论 -
CodeIgniter 入门:快速简单地创建 MVC 应用程序
http://www.ibm.com/developerworks/cn/web/wa-codeigniter/ 如果您是一位 PHP 开发人员,在使用 PHP 编程语言时不难发现:大型项目可能会变得复杂。 这并非 PHP 的缺点。是的,这种语言提供了丰富的特性,而且具有足够理想的弹性,可区分程序员之间的工作成果。在这种意义上,PHP 类似于 Perl,这是一些人喜欢它(而其他人鄙视它)转载 2011-06-20 21:47:00 · 1123 阅读 · 0 评论 -
从头学CodeIgniter和Doctrine 用户注册【翻译】下(表单辅助函数-表单验证-测试表单)流程详解
表单提交流程详解 翻译:http://isblog.blog.163.com/blog/static/724167520107134215555/ 英文原始资料:http://www.phpandstuff.com/articles/codeigniter-and-doctrine-from-scratch-day-2-the-basics转载 2011-06-21 18:34:00 · 577 阅读 · 0 评论