使用Composer加载新包的时候,composer报错 Your configuration does not allow connection to http://ooxx/xxoo.Git. See https://getcomposer.org/doc/06-config.md#secure-http for details. 修改方法 如果只在某个项目中使用: composer config secure-http false 全局使用: composer config -g secure-http false
Curl发送post数据的时候HTTP头部Content-type值得差异
相信很多做PHP的朋友都有使用过curl,在做接口服务的时候,基本都有涉及到,也都会用,但是一些细节问题如果没有遇到可能就不会了解的很清楚。
Laravel 获取Header信息
Laravel中获取Http请求头部Header信息的函数 使用Request的header方法 Request::header('Content-Type'); Request::header('User-agent'); Request 的文档
Laravel中使用pjax
什么是pjax? Pjax项目地址 讲得通俗点就是,不刷新页面,但是会更新页面内容,以及url的一种技术.一般的网站页面,切换页面的时候都会闪一
Laravel ErrorException in Filesystem.php line 81:
今天更改Laravel项目代码等时候把storage里面所有东西都删除了,再次运行的时候,结果报错 ErrorException in Filesystem.php line 81: file_put_contents(/f3066c7346d5b050360486339b8015a1): failed to open stream: Permission denied 网上找了很多都只是