09 2012 档案

该文被密码保护。
posted @ 2012-09-28 23:06 曾是土木人 阅读(1) 评论(0) 推荐(0) 编辑
摘要:本文内容Zend_Controller工作流程路由器 Zend_Controller_Router分发器 Zend_Controller_Dispatcher动作控制器 Zend_Controller_Action插件 Zend_Controller_Plugin总结 在 该系列的第一部分中,简要... 阅读全文
posted @ 2012-09-22 09:16 曾是土木人 阅读(1309) 评论(1) 推荐(0) 编辑
摘要:PHP构造函数的执行顺序测试代码如下:<?phpclass grandfather { public function __construct(){ echo 'grandfather'; }}class father extends grandfather { public function __construct(){ echo 'father'; }}class son extends father { public function __construct(){ echo 'son'; }}$test = n... 阅读全文
posted @ 2012-09-16 14:40 曾是土木人 阅读(1152) 评论(0) 推荐(0) 编辑
摘要:在CRM系统开发中,根据不同的用户组分配不同的权限是一件再正常不过的事情。ZF框架提供的Zend_Auth和Zend_Acl这两个组件就是用来帮我们完成类似工作的。Zend_Auth登录认证: Zend_Auth组件的使用很容易,相信大家看了下面的图文解说之后就会明白的。解释:Zend_Aut... 阅读全文
posted @ 2012-09-16 14:16 曾是土木人 阅读(3097) 评论(4) 推荐(0) 编辑
摘要:1、 Zend-Auth 认证(authentication)提供一个api并包括了一些通用用例情景的具体认证适配器Zend_Auth适配器都实现一个zend_auth_adapter_interface 这个interface定义了一个方法authenticate()class myauthada... 阅读全文
posted @ 2012-09-16 09:39 曾是土木人 阅读(2153) 评论(1) 推荐(0) 编辑
摘要:在优化数据库的,或者在导入数据的时候,知道某个数据库中哪张数据表的数据量最多,有时候对我们还是有帮助的所以自己简单写了几行代码用来实现以上需求执行结果:<?php $conn=mysql_connect('localhost','root',''); mysql_select_db('数据库',$conn); $sql="SELECT information_schema.TABLES.TABLE_NAME FROM information_schema. TABLES WHERE table_schema = & 阅读全文
posted @ 2012-09-01 17:41 曾是土木人 阅读(1643) 评论(1) 推荐(0) 编辑

点击右上角即可分享
微信分享提示