会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
伊人世界
集中精力做一件事,不要松懈,岁月不会重来
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
下一页
2016年11月8日
php 小点02
摘要: echo date('Y-m-d H:i:s', strtotime('-1 days'));
阅读全文
posted @ 2016-11-08 10:42 伊人世界
阅读(111)
评论(0)
推荐(0)
2016年10月28日
防盗链
摘要: 再需要做防盗链的目录下面新建.htaccess文件,在里面进行判断请求的域名和来自发生请求发生的域名是不是同一个域名,的话给你显示,否的话不是显示
阅读全文
posted @ 2016-10-28 17:49 伊人世界
阅读(126)
评论(0)
推荐(0)
2016年10月21日
节点
摘要:
阅读全文
posted @ 2016-10-21 11:22 伊人世界
阅读(85)
评论(0)
推荐(0)
tp hook
摘要: public function test03(){ Hook::add('ad','Behavior\\AdBehavior'); $this->display('test03'); } 关于: {:hook('ad',array('name'=>'xiaosu','age'=>23))}
阅读全文
posted @ 2016-10-21 10:09 伊人世界
阅读(180)
评论(0)
推荐(0)
2016年10月11日
基础--- php 操作 mysql
摘要: $link = mysql_connect('127.0.0.1:3306', 'root', '1234abcd'); var_dump($link); $result1 = mysql_query('use ecshop',$link); $result2 = mysql_query('set names utf8'); $result = mysql_query('show datab...
阅读全文
posted @ 2016-10-11 14:57 伊人世界
阅读(190)
评论(0)
推荐(0)
上传文件
摘要: goods_name: ori_image: ori_image: '; var_dump($_POST); echo ''; var_dump($_FILES['ori_image']); echo ''; if(move_uploaded_file($_FILES['ori_image']['tmp_name'], './upload.jpg')) { e...
阅读全文
posted @ 2016-10-11 14:43 伊人世界
阅读(135)
评论(0)
推荐(0)
缩略图
摘要: 1.简单缩略图 2等比缩略图 3补白缩略图
阅读全文
posted @ 2016-10-11 14:39 伊人世界
阅读(260)
评论(0)
推荐(0)
回掉函数
摘要: 回调概念 1.不直接返回结果 2.在函数的参数中传递回掉函数 3.在回掉中处理返回结果
阅读全文
posted @ 2016-10-11 11:17 伊人世界
阅读(185)
评论(0)
推荐(0)
2016年10月9日
缓存
摘要: 查询缓存$res = M('ask')->where('id = 3 ')->cache(true)->find(); $res = M('ask')->where('id = 2 ')->cache('cache_name',60)->find(); $res = S('cache_name'); 快速缓存 --- F方法只能用于缓存简单数据类型,不支持有效期和缓存对象 F('d...
阅读全文
posted @ 2016-10-09 10:25 伊人世界
阅读(97)
评论(0)
推荐(0)
2016年9月28日
工具错误
摘要: 443端口被占用问题 D:\win10-2016-2-23\xampp2\apache\conf\extra 所以就到Apache24\conf\extra目录下找到httpd-ssl.conf文件,记事本打开,找到“Listen 443”,改成442。
阅读全文
posted @ 2016-09-28 10:02 伊人世界
阅读(113)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
下一页
公告