上一页 1 ··· 8 9 10 11 12 13 14 下一页

2018年9月12日

laravel获取不同目录文件夹路径的函数

摘要: laravel下面有几个取特殊路径的函数,这里做个总结。大家按需取用即可。除了base_path是指的代码根目录外,其他的几个函数都指代的是具体的同名目录。 各个资源路径常量 一、public_path('uploads'); 说明:public文件路径 二、base_path('xx'); 三、a 阅读全文

posted @ 2018-09-12 18:23 建安永乐 阅读(3034) 评论(0) 推荐(0) 编辑

2018年9月11日

laravel中获取模板文件的html,

摘要: 参考:https://blog.csdn.net/xionggang1024/article/details/77879550 $a = view('welcome');dump($a);//是一个对象 记得response的作用吗?$html = response($a)->getContent( 阅读全文

posted @ 2018-09-11 11:13 建安永乐 阅读(1418) 评论(0) 推荐(0) 编辑

2018年9月10日

js截取字符串,去掉前几位,保留后几位

摘要: https://blog.csdn.net/u012246458/article/details/77684054 阅读全文

posted @ 2018-09-10 12:17 建安永乐 阅读(2607) 评论(0) 推荐(0) 编辑

2018年9月6日

使用 Laravel 5.1 的文件系统对文件进行存储、移动和删除操作

摘要: http://laravelacademy.org/post/1911.html 阅读全文

posted @ 2018-09-06 15:25 建安永乐 阅读(247) 评论(0) 推荐(0) 编辑

2018年9月3日

jquery-file-upload

摘要: https://blog.csdn.net/WRian_Ban/article/details/70230732https://blog.csdn.net/zp_love666/article/details/76043276 https://blog.csdn.net/xiongxianhe/ar 阅读全文

posted @ 2018-09-03 00:27 建安永乐 阅读(209) 评论(0) 推荐(0) 编辑

2018年8月21日

php 正则匹配URL

摘要: Amazon Goods URL; $url_array = [ 阅读全文

posted @ 2018-08-21 23:36 建安永乐 阅读(12199) 评论(0) 推荐(0) 编辑

2018年8月5日

You are running Composer with SSL/TLS protection disabled.

摘要: php 运行compose 老是出现:You are running Composer with SSL/TLS protection disabled. 解决办法: 执行:composer config -g -- disable-tls false 参考地址:https://blog.csdn. 阅读全文

posted @ 2018-08-05 21:37 建安永乐 阅读(4016) 评论(0) 推荐(0) 编辑

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 建安永乐 阅读(510) 评论(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 建安永乐 阅读(1076) 评论(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 建安永乐 阅读(14659) 评论(0) 推荐(0) 编辑

上一页 1 ··· 8 9 10 11 12 13 14 下一页

导航