上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 34 下一页
摘要: 写这篇文章的原因: 由于快速的散列算法,所以不推荐使用md5这个函数获得密码。 password_hash()使用了一个强的哈希算法,来产生足够强的盐值,并且会自动进行合适的轮次。password_hash()是crypt()的一个简单封装,并且完全与现有的密码哈希兼容。所以推荐使用password 阅读全文
posted @ 2020-08-30 23:51 1O(∩_∩)O1 阅读(396) 评论(0) 推荐(0)
摘要: 使用nginx做代理服务配置如下: server{ listen 80 ; server_name 域名; #代理配置 location /{ proxy_set_header X-Original-Host $host; proxy_set_header X-Real-IP $remote_add 阅读全文
posted @ 2020-08-30 17:57 1O(∩_∩)O1 阅读(998) 评论(0) 推荐(0)
摘要: 参考:https://blog.csdn.net/dc_726/article/details/42784317 创建一条测试 数据 查询 (默认是 DB 0 ) 创建: set name xiaoming 查询: get name 1、模糊搜索查询 (redis 默认有16个DB , 0-15 ) 阅读全文
posted @ 2020-08-27 18:39 1O(∩_∩)O1 阅读(2136) 评论(0) 推荐(0)
摘要: 使用tp,group和count无法得到想要的sql语句。 M('Report')->group('begin')->where($term)->count(); SELECT COUNT(*) AS tp_count FROM `qdb_report` WHERE ( `type` = 1 ) A 阅读全文
posted @ 2020-08-17 09:58 1O(∩_∩)O1 阅读(1899) 评论(0) 推荐(0)
摘要: 经常用的前端操作: 1、创建编辑器 UE.getEditor('editor', { initialFrameWidth:"100%" //初始化选项 }) 精简版 UE.getEditor('editor') 2、删除编辑器 UE.getEditor('editor').destroy(); 3、 阅读全文
posted @ 2020-08-15 11:06 1O(∩_∩)O1 阅读(931) 评论(0) 推荐(0)
摘要: 来源:https://blog.csdn.net/immortalzz/article/details/81479819 事情通知: 1.你最好检验你平时上传oss的方法可行,因为网上的案例的oss方法不是通用的。 2.修改你平时上传oss时调用的$ossClient->uploadFile()的第 阅读全文
posted @ 2020-08-14 18:14 1O(∩_∩)O1 阅读(647) 评论(0) 推荐(1)
摘要: 来源:https://blog.csdn.net/qq_23564667/article/details/107524645 在做项目中,由于使用的是thinkphp5.1框架,使用tcpdf生成的pdf文件在浏览器里显示输出文件流字符串;这个问题只要:关闭调试模式即可 在ThinkPHP5.1上使 阅读全文
posted @ 2020-08-11 15:54 1O(∩_∩)O1 阅读(1135) 评论(0) 推荐(0)
摘要: function down_file($url,$type='application/zip'){ header("Cache-Control: public"); header("Content-Description: File Transfer"); header('Content-dispo 阅读全文
posted @ 2020-07-27 15:28 1O(∩_∩)O1 阅读(463) 评论(0) 推荐(0)
摘要: 参考: https://www.cnblogs.com/ivy-zheng/p/12614002.html https://blog.csdn.net/weixin_42390015/article/details/104060207 下载地址:http://mirrors.163.com/cygw 阅读全文
posted @ 2020-07-21 13:56 1O(∩_∩)O1 阅读(449) 评论(0) 推荐(0)
摘要: 本文地址: https://www.laruence.com/2020/07/13/6033.html PHP8 alpha2发布了,最近引入了一个新的关键字:match, 这个关键字的作用跟switch有点类似。 虽然我一般对语法糖无感,但这个我觉得还是有点意思,match这个词也挺好看,那么它是 阅读全文
posted @ 2020-07-21 10:01 1O(∩_∩)O1 阅读(288) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 34 下一页