2018年8月5日

Win7 PHP获取HTTPS网站报错

摘要: PHP Warning 'yii\base\ErrorException' with message 'get_meta_tags(): SSL operati on failed with code 1. OpenSSL Error messages: error:14090086:SSL rou 阅读全文

posted @ 2018-08-05 21:00 四季皆春 阅读(549) 评论(0) 推荐(0)

2018年7月22日

使用 API-Blueprint 编写 API 文档

摘要: 使用 API-Blueprint 编写 API 文档 API-Blueprint 官网: https://apiblueprint.org/tools.html#mock servers 参考文档: https://www.jianshu.com/p/d39c3553e25a https://seg 阅读全文

posted @ 2018-07-22 08:48 四季皆春 阅读(1106) 评论(0) 推荐(0)

2018年7月18日

PHP curl 请求中添加 Authorization token

摘要: PHP curl 请求中添加 Authorization token ; 经过测试用一下方式设置 header 参数,可以成功获取数据 $accessToken = "6666dhfgfhgfhertwrqefdshfkk"; $headers[] = "Accept:application/jso 阅读全文

posted @ 2018-07-18 18:29 四季皆春 阅读(14868) 评论(0) 推荐(0)

2018年6月28日

css 实现背景图片平铺整个屏幕

摘要: #app{ background-image: url(" img/1.jpg "); background-repeat: no-repeat; //不重复 background-size: 100% 100%; // 满屏} 阅读全文

posted @ 2018-06-28 23:23 四季皆春 阅读(68473) 评论(0) 推荐(1)

2018年6月27日

Laravel框架 自带的auth验证 自定义密码修改

摘要: Laravel框架 自带的auth验证 自定义密码修改: Request::input('old_password') 为用户输入的旧密码; (其中$old_password是从数据库取出来的旧的哈希密码) $isCheck = :\Hash::check(\Request::input('old_ 阅读全文

posted @ 2018-06-27 18:58 四季皆春 阅读(3495) 评论(0) 推荐(0)

laravel 验证表单文件报错:Class App\HTTP\Requests\CreateUserRequest does not exist

摘要: 在laravel 中使用 php artisan make:request CreateUserRequest 生成form 验证文件, 在引入控制器使用的时候报错:Class App\HTTP\Requests\CreateUserRequest does not exist ; 解决方法: 1: 阅读全文

posted @ 2018-06-27 15:22 四季皆春 阅读(2216) 评论(0) 推荐(0)

2018年6月25日

vue.js 根据读取的值 来选中radio 单选

摘要: html: 阅读全文

posted @ 2018-06-25 00:50 四季皆春 阅读(13432) 评论(0) 推荐(1)

2018年6月13日

git 初始化安装以及git常用命令

摘要: 新建一个站点文件夹: myweb; 安装git 完成后,设置账号,在命令行输入: git config --global user.name "php7" git config --global user.email "php7@php.net" 执行命令初始化:git init; 将myweb文件 阅读全文

posted @ 2018-06-13 22:20 四季皆春 阅读(6727) 评论(0) 推荐(0)

js 检测当前浏览器器信息

摘要: <html><head><title>JS显示当前浏览器详细信息</title> <SCRIPT> function whatBrowser() { document.Browser.Name.value=navigator.appName; document.Browser.Version.val 阅读全文

posted @ 2018-06-13 16:22 四季皆春 阅读(223) 评论(0) 推荐(0)

2017年12月19日

Thinkphp 在windows运行正常,上传至Linux服务器器,出现视图不催在错误的解决办法

摘要: 出现时图不存在; 肯可能是因为 是,视图模板文件的大小写问题; 例如在控制器内写的展示视图文件为 小驼峰命名; goodsList ; 则在视图文件命名是,尽量保持一致; class GoodsController extenfs Controller{ public function goodsL 阅读全文

posted @ 2017-12-19 20:15 四季皆春 阅读(691) 评论(0) 推荐(0)

导航