随笔- 67
文章- 0
评论- 2
阅读-
67879
01 2019 档案
封装一个使用cURL以POST方式请求https协议的公众方法
摘要:打开php7.2手册,搜索curl function getRequest($url,$type='get', $data = [], $timeout = 10) (需要更改){ $ssl = stripos($url,'https://') === 0 ? true : false; $curlObj = curl_init(); $options = [ ...
阅读全文
YII框架实现 RBAC
摘要:(1)、在 common\config\main.php添加 开始安装yii2-admin: composer require mdmsoft/yii2-admin "~2.0" 此时会生成4张表 (提前选择数据库,最好是干净的数据库) 其中:auth_item:用于存储角色、权限和路由; auth
阅读全文
nginx开启fileinfo扩展
摘要://实现网址 https://blog.csdn.net/m_nanle_xiaobudiu/article/details/80838424 (1) (2).make && make install (php.ini所在位置) vim php.ini 加入 (4)重启
阅读全文