摘要: $directory_arr = scandir($path); unset($directory_arr[0]);//删除 . unset($directory_arr[1]);//删除 .. $directory_arr = array_values($directory_arr);//重置in 阅读全文
posted @ 2022-03-17 13:08 树之下 阅读(68) 评论(0) 推荐(0)
摘要: //判断滚动条是否存在 function hasScrollbar() { return document.body.scrollHeight > (window.innerHeight || document.documentElement.clientHeight); } function hi 阅读全文
posted @ 2022-03-11 15:11 树之下 阅读(924) 评论(0) 推荐(0)
摘要: https://www.jianshu.com/p/ab77f547fd2b 阅读全文
posted @ 2022-03-02 16:53 树之下 阅读(61) 评论(0) 推荐(0)
摘要: 前言 php7.4后不支持 array{} 这种形式数组取值 参考官方文档:7.4 版本的向后不兼容更改,非数组的数组样式访问,现在,尝试将 null,bool,int,float 或 resource 类型的值用作数组 ( 例如 $null[“key”] ) 会产生一个通知。 修改后的PHPExc 阅读全文
posted @ 2022-03-02 14:41 树之下 阅读(1600) 评论(1) 推荐(0)
摘要: 前言 关于pg数据库的随便笔记 安装 一、运行环境:win server2016、pg数据库的免安装版本 链接:https://pan.baidu.com/s/1DY17uh93MKJk-PcOoDE58A 提取码:2h22 获取 postgresql-13.5-1-windows-x64-bina 阅读全文
posted @ 2022-02-17 11:24 树之下 阅读(2406) 评论(0) 推荐(0)
摘要: 链接:https://pan.baidu.com/s/1JqDL82apB2REyQWb8LFIYg 提取码:jt7a rpm -Uvh *.rpm --nodeps --force 阅读全文
posted @ 2022-01-26 10:37 树之下 阅读(1025) 评论(0) 推荐(1)
摘要: php artisan make:controller FileController php artisan make:model Report composer require phpoffice/phpexcel composer remove phpoffice/phpexcel 阅读全文
posted @ 2022-01-26 09:23 树之下 阅读(32) 评论(0) 推荐(0)
摘要: apache 安装包:https://pan.baidu.com/s/1sJlHD6wc4lN-r5JUqxAKVA 提取码:vhzm 首先需要安装依赖 expat-devel,libxml2-devel (可以连外网的情况) yum install -y expat-devel yum insta 阅读全文
posted @ 2022-01-24 15:03 树之下 阅读(507) 评论(0) 推荐(0)
摘要: 前言 先装apache 再装php php安装需要通过apache模块进行安装 apache安装 相关安装包:https://pan.baidu.com/s/1w1O6aOvx8nHo1hxg3sbR4A 提取码:ibbq 先安装依赖 yum -y install openssl openssl-d 阅读全文
posted @ 2022-01-24 14:12 树之下 阅读(304) 评论(0) 推荐(0)
摘要: 前言 随便笔记,随便记录 日志输出 日志输出 file_put_contents('D:\log.txt',date('Y-m-d H:i:s')."日志内容写在这里"."\r\n\r\n" , FILE_APPEND | LOCK_EX); 文件引入 //当前文件绝对路径 dirname(__FI 阅读全文
posted @ 2021-12-30 11:14 树之下 阅读(62) 评论(0) 推荐(0)