2015年3月26日

常用的CSS命名规则

摘要: (一)常用的CSS命名规则头:header内容:content/container尾:footer导航:nav侧栏:sidebar栏目:column页面外围控制整体布局宽度:wrapper左右中:leftrightcenter登录条:loginbar标志:logo广告:banner页面主体:main... 阅读全文

posted @ 2015-03-26 12:26 ziyi_ang 阅读(90) 评论(0) 推荐(0) 编辑

2015年3月21日

扩展CI控制器

摘要: 扩展CI控制器 appliction/core/MY_Controller.php appliction/core/config.php $config['subclass_prefix']='MY_'; 阅读全文

posted @ 2015-03-21 14:56 ziyi_ang 阅读(74) 评论(0) 推荐(0) 编辑

CI 中的AR 连贯操作

摘要: SELECT `id`, `username` FROM (`blog_user`) ORDER BY `id` desc LIMIT 2, 3 $res=$this->db->select('id,username') ->from('user') //... 阅读全文

posted @ 2015-03-21 14:43 ziyi_ang 阅读(86) 评论(0) 推荐(0) 编辑

CI 数据库增删改查

摘要: 自增id $this->db->insert_id(); 受影响行数 $this->db->affected_rows();Active Record 1.application/config/database.php $active_record=TRUE; 2.applica... 阅读全文

posted @ 2015-03-21 10:52 ziyi_ang 阅读(235) 评论(0) 推荐(0) 编辑

2015年3月19日

PHP权限控制系统-PHPGACL

摘要: 转自:http://blog.sina.com.cn/s/blog_5d4ab4b40100cm5u.htmlPHP权限控制系统-PHPGACL权限控制的设计一直是系统开发和框架结构中经常讨论的问题,如何设计一个简单而又行之有效却又可以提供高精度的权限控制粒度是我们一直探讨的问题。本文翻译自phpG... 阅读全文

posted @ 2015-03-19 15:22 ziyi_ang 阅读(273) 评论(0) 推荐(0) 编辑

zend studio 提示CI 代码

摘要: Zend Studio 8实现CodeIgniter代码提示的方法地址:http://my.oschina.net/zhangb081511/blog/172401 阅读全文

posted @ 2015-03-19 08:20 ziyi_ang 阅读(105) 评论(0) 推荐(0) 编辑

2015年3月18日

CI中的数据库操作(1)

摘要: 数据库中的访问 修改配置文件 application/config/database.php 将数据库访问对象,装载到超级对象的属性中$this->db $this->load->database(); $res=$this->db->query($sql);//返回对象 ... 阅读全文

posted @ 2015-03-18 22:31 ziyi_ang 阅读(126) 评论(0) 推荐(0) 编辑

CI超级对象中的input输入类

摘要: $this->input 是CI_Input类的实例system/core/Input.php CI_Input类提供的方法: $this->input->post('username');//$_POST['username']; $this->input->server('DOCUMEN... 阅读全文

posted @ 2015-03-18 22:12 ziyi_ang 阅读(125) 评论(0) 推荐(0) 编辑

2015年3月13日

路由器端口映射,远程桌面连接--端口映射+花生壳

摘要: 转自:http://blog.sina.com.cn/s/blog_646cab440100i23t.html关键字:路由器端口映射,内网端口映射,porttunnel,端口映射,远程桌面,修改远程桌面端口,端口映射工具,路由器端口映射,nat端口映射,端口映射软件,花生壳,花生壳下载,花生壳200... 阅读全文

posted @ 2015-03-13 21:29 ziyi_ang 阅读(5019) 评论(0) 推荐(0) 编辑

Apache的443端口被占用解决方法

摘要: 转自:http://www.xuebuyuan.com/228060.html今天使用xampp,apache无法启动,由于使用xampp-control-3-beta.exe无法看到错误,就是无法启动。windows用cmd,执行xampp/apache/bin中的httpd.exe,看到:(OS... 阅读全文

posted @ 2015-03-13 19:51 ziyi_ang 阅读(283) 评论(0) 推荐(0) 编辑

导航