Blogger Information
鱼的熊掌
Blog
51
fans
0
comment
1
visits
65796
integral:0
P beans:102
  • List of blog posts
  • PHP导入Excel

       # 注:Excel首行标题名称要和 $FIELD 的title字段一致。表字段名要和$FIELD 的field一致。      &nb...

    2022-05-10 09:23 Read 1245 comment 0
  • PHP导出Excel

         set_time_limit(0);      ini_set('memory_limit', '1024...

    2022-05-10 09:06 Read 934 comment 0
  • 在Centos7上安装mysql5.7修改端口和数据目录mysql无法启动问题

    由于selinux的限制 sudo setenforce 0 // 暂时关闭 永久关闭 vi /etc/selinux/config // 编辑文件SELINUX=disabled // 设置禁止启动

    2023-08-01 11:41 Read 77 comment 0
  • Linux系统下导出数据库并在新服务器上导入

    1、导出数据库 使用mysqldump mysql -uroot -p test < /home/test.sql 使用mysql root账户导出 test 数据库,将文件导出到home目录下,并命名为test.sql 2、把数据库文件从17...

    2023-08-01 11:28 Read 113 comment 0
  • Dcoker运行mysql5.7镜像

    // 下载mysql5.7镜像docker pull mysql:5.7// 运行镜像docker run -d --name mysql57 -p 13306:3306 -v e:/Cache/docker/mysql57:/var/lib/mys...

    2023-07-18 09:28 Read 950 comment 0
  • 强制360浏览器使用极速内核

    2023-02-09 10:20 Read 618 comment 0
  • 递归创建文件夹

    function createDirectory($dir) { $dir=ltrim($dir,'./'); $arr = explode('/',$dir); $path='./'; fo...

    2023-02-08 14:04 Read 708 comment 0
  • Uniapp上拉加载数据

    2023-01-31 16:06 Read 774 comment 0
  • php合并多个word文件

    tbszip下载 include_once('extend/tbszip.php'); $zip = new \clsTbsZip(); $path = 'Public/File/...

    2022-12-16 16:47 Read 1574 comment 0
  • PhpSpreadsheet导出Excel

    namespace eq; use PhpOffice\PhpSpreadsheet\Spreadsheet; class Excel{ /** * @description: 使用例子 * @return {*} *...

    2022-12-15 11:59 Read 1031 comment 0
  • Windows 宝塔 ThinkPHP3.23执行cli任务

    1、在网站根目录创建cli.php文件

    2022-12-12 14:03 Read 958 comment 0
  • PHP 保存base64位图片

    /** * @description: 保存base64位图片 * @param {*} $base64Img 64位图片 * @param {*} $name 文件名称 * @return {*} *...

    2022-11-22 17:47 Read 1086 comment 0
  • Docker Desktop运行程序linux容器报错

    报错:System.InvalidOperationException: Failed to set version to docker-desktopcmd/shell下执行netsh winsock reset

    2022-11-17 10:05 Read 462 comment 0
  • PhpWord生成word文件

    1、通过模板生成,最好使用.docx的文件生成否则会有权限问题 word内容 //模板的路径 $path='./Public/File/模板.docx'; //生成wo...

    2022-09-26 16:32 Read 905 comment 0
  • PHP删除空文件夹

    $path='./download/test'; //文件夹路径mkdir($path); //创建文件夹delFileUnderDir($path);mkdir($path); //删除空的文件夹//...

    2022-09-26 16:38 Read 457 comment 0