摘要: 下载组件:https://packagist.org/packages/ender/yunpian-sms 按步骤来就行 阅读全文
posted @ 2020-02-24 09:59 时光一寸灰 阅读(282) 评论(0) 推荐(0)
摘要: 一、安装 1、下载地址:https://github.com/MicrosoftArchive/redis/releases/tag/win-3.2.100 2、Redis-x64-3.2.100.msi 下载 ( 安装步骤,下一步下一步,有选择框选中即可), 3、 安装完成配置: 打开 E:\Pr 阅读全文
posted @ 2020-02-23 15:00 时光一寸灰 阅读(245) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-02-20 11:32 时光一寸灰 阅读(92) 评论(0) 推荐(0)
摘要: 函数:strtolower(); if(strtolower($_SESSION['rand'])==strtolower($str_number )){ echo "验证码正确"; }else{ echo "验证码不正确"; } 阅读全文
posted @ 2020-02-18 17:36 时光一寸灰 阅读(939) 评论(0) 推荐(0)
摘要: 错误: Warning: require(E:\phpstudy_pro\WWW\blog\public/../vendor/autoload.php): failed to open stream: No such file or directory in E:\phpstudy_pro\WWW\ 阅读全文
posted @ 2020-02-18 10:22 时光一寸灰 阅读(559) 评论(0) 推荐(0)
摘要: 法一:进入 https://packagist.org/ 组件网 搜索 gregwar/captcha 法二:用命令 composer require gregwar/captcha 或者:在项目中的composer.json 文件中加入 "require" :{ "gregwar/captcha" 阅读全文
posted @ 2020-02-17 18:19 时光一寸灰 阅读(369) 评论(0) 推荐(0)
摘要: 报错:Class App\Http\Controllers\Admin/LoginController does not exist 原因:注意路由 控制器路径的斜杠应该是\而不是/ 阅读全文
posted @ 2020-02-17 17:34 时光一寸灰 阅读(686) 评论(0) 推荐(0)
摘要: 一、本地操作: 1.其它 git init:初始化本地库 git status:查看工作区、暂存区的状态 git add <file name>/git add .:将工作区的“新建/修改”添加到暂存区 git rm --cached <file name>:移除暂存区的修改 git commit 阅读全文
posted @ 2020-02-15 11:24 时光一寸灰 阅读(100) 评论(0) 推荐(0)
摘要: 一、安装composer 参考菜鸟教程:https://www.runoob.com/w3cnote/composer-install-and-usage.html 二、下载laravel安装工具 进入win10 控制台 输入composer 看composer 是否安装成功 输入 命令: comp 阅读全文
posted @ 2020-02-13 17:42 时光一寸灰 阅读(806) 评论(0) 推荐(0)
摘要: $arr = [4,5,3,7,8,9];print_r(maopao($arr));function maopao($arr){ $len = count($arr); $n = $len-1; for ($i=0;$i<=$len;$i++){ for ($j=0;$j<$n;$j++){ if 阅读全文
posted @ 2020-02-12 15:23 时光一寸灰 阅读(108) 评论(0) 推荐(0)