摘要:
来源:https://blog.csdn.net/qq_23564667/article/details/107524645 在做项目中,由于使用的是thinkphp5.1框架,使用tcpdf生成的pdf文件在浏览器里显示输出文件流字符串;这个问题只要:关闭调试模式即可 在ThinkPHP5.1上使 阅读全文
摘要:
function down_file($url,$type='application/zip'){ header("Cache-Control: public"); header("Content-Description: File Transfer"); header('Content-dispo 阅读全文
摘要:
参考: https://www.cnblogs.com/ivy-zheng/p/12614002.html https://blog.csdn.net/weixin_42390015/article/details/104060207 下载地址:http://mirrors.163.com/cygw 阅读全文
摘要:
本文地址: https://www.laruence.com/2020/07/13/6033.html PHP8 alpha2发布了,最近引入了一个新的关键字:match, 这个关键字的作用跟switch有点类似。 虽然我一般对语法糖无感,但这个我觉得还是有点意思,match这个词也挺好看,那么它是 阅读全文
摘要:
参考: https://blog.csdn.net/qq_39666838/article/details/81947225 https://zhidao.baidu.com/question/178447697.html https://www.cnblogs.com/lxwphp/p/77312 阅读全文
摘要:
Guzzle是一款php请求客户端,他已经帮你封装了你需要的各种各样的场景,你只要只用即可。 开发手册:https://guzzle-cn.readthedocs.io/zh_CN/latest/overview.html#installation 阅读全文
摘要:
不带参数: $rs = Db::name('admin')->order(['id'=>'desc'])->paginate(1); 带参数传递: $rs=Db::name('admin')->where($where)->order(['id'=>'desc'])->paginate(10,fal 阅读全文
摘要:
来源:https://blog.csdn.net/qq_41241684/article/details/87866416 所以我改成这样: $paperTypeModel = new PaperType(); $seach = Request::get('seach'); $where = arr 阅读全文
摘要:
操作:https://blog.csdn.net/qq_24326765/article/details/81916222 推荐源:https://blog.csdn.net/qq_36328643/article/details/89072628 阅读全文
摘要:
来源:https://blog.csdn.net/kingroc/article/details/50839994 阅读全文