![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
php
haraleung
我的未来不是梦....
展开
-
thinkphp后台首页index用frameset时的注意事项
文件路径:aoli/admin/Lib/Action/IndexAction.class.php class IndexAction extends Action{ public function index(){ $this->display(); } public function top(){ $this->转载 2014-11-12 15:45:17 · 526 阅读 · 0 评论 -
Zend Framework MVC的结构
The Zend Framework MVC Architecture一、概述:In this chapter, we will cover the following topics:1. Zend framework MVC overview2. The Front Controller3. The router4. The dispatcher5. The转载 2014-10-10 21:50:43 · 346 阅读 · 0 评论 -
zend studio 创建php项目
菜单分别是:从cvs创建php项目 、从git创建php项目、从github创建、从zend的云服务器创建、从svn创建、本地php项目、从已经存在的目录创建、从远程服务器创建、项目、、看根据你的需要创建了一般可以选择创建本地项目原创 2014-10-13 23:07:08 · 462 阅读 · 0 评论 -
PHP 通过邮件找回密码源码
Thinkphp 发送邮件找回密码源码 public function verify() { $type = isset($_GET['type'])?$_GET['type']:'gif'; import("@.ORG.Image"); Image::buildImageVerify(4,1,$type);转载 2014-12-03 17:34:35 · 2085 阅读 · 0 评论 -
总结 thinkphp 发邮件 找回密码 问题
首先 下载 Mail.class.php 放在Thinkphp/Extend/Library/ORG 文件夹下,如:1.开启socket:在php.ini中取消extension=php_sockets.dll前面的分号。2.把Mail.class.php放到ThinkPHP\Extend\Library\ORG目录下,利用import('ORG.Mail');导入。如果在ORG原创 2014-12-07 13:37:01 · 988 阅读 · 0 评论 -
PHP上传文件大小限制解决方法
1. 在php.ini中,做如下修改: file_uploads = on upload_tmp_dir = /home/upload upload_max_filesize = 4000M post_max_size = 4000M 一般地,设置好上述四个参数后,上传 但如果要上传>8M的大体积文件,只设置上述四项还一转载 2015-02-26 09:39:07 · 375 阅读 · 0 评论 -
Mysql启动innodb引擎的方法
启动innodb引擎的方法:1)、关闭mysql的服务2)、修改my.ini将default-storage-engine=innodb前的注释(#)去掉将skip-innodb这行注释(加上#)3)、保存,重启mysql服务原创 2015-04-28 23:13:06 · 508 阅读 · 0 评论 -
Call to undefined function curl_init解决方法
做discuz的sso单点登录时报错:Call to undefined function curl_init,找 不到系统函数:curl_init();解决方法为: php_curl.dll 复制到php安装目录下的ext下,libeay32.dll和ssleay32.dll复制到php安装目录下。开启extension=php_curl.转载 2015-04-28 23:21:16 · 417 阅读 · 0 评论