- 博客(9)
- 收藏
- 关注
原创 SSL certificate: unable to get local issuer certificate php
PHP出现SSLcertificate:unabletogetlocalissuercertificate的解决办法当本地curl需要访问https时,出现错误信息解决办法:下载pem文件,并将文件拷贝到D:\phpStudy\PHPTutorial\cacert.pem在php.ini增加curl.cainfo = “D:\phpStudy\PHPTutorial\cacert.pem”...
2024-11-29 18:35:25
133
1
原创 ubuntu中使用docker安装superset环境
1、运行wget -qO- https://get.docker.com/ | sh成功为2、用户添加到docker用户组(最后的root是当前系统的用户名)sudo usermod -aG docker root3、# 启动docker 后台服务sudo service docker start4、#运行hello-worldsudo docker run hello-world5、#配置镜像加速修改Docker配置文件/etc/default/docker如下:vim
2024-11-29 18:34:45
377
原创 mysql 查询时间转换
转换 日 date_format(create_time, ‘%Y-%m-%d’)转换 月 date_format(create_time, ‘%Y-%m’)转换 年 date_format(create_time, ‘%Y’)分组查询 group by。
2023-01-28 10:56:28
527
原创 thinkphp6 json_encode后数组 js 无法使用 JSON.parse()转回数组
thinkphp6 json_encode后数组 js 无法使用 JSON.parse()转回数组js 可以使用{}接受thinkphp传的参数,但是传数组的话会提示不是字符串格式,需要在后端代码中json_encode一下数据。但是thinkphp6后端json_encode后收到的数据打印出来会有 乱码如下:!使用JSON.parse()也无法转回数组。这是因为thinkphp输出html默认使用了htmlentities,可以{$arr|raw}在参数后面加”|raw“就可以了这样html
2021-11-05 14:30:51
807
原创 filter_var(): explicit use of FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED is deprecat
filter_var(): explicit use of FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED is deprecated
2021-09-07 09:48:40
622
原创 微擎新建模块
微擎新建模块1.在web\common\frames.inc.php中找到你的应用类型,添加你的新目录2.在web\source\中创建你的控制器3.在web\themes\default 中创建你的模型
2021-02-03 15:53:41
233
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人