
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
python中使用pip install 命令时报ssl缺失的错误
yum命令因升级python以及更换Yum源后报错
对于ubuntu 18.10:添加仓储:1. 下载秘钥:wget -nc https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard/Release.key2. 导入秘钥:sudo apt-key add Release.key3. 添加仓储sudo a...
$data = $this->getRequestParam('data');parse_str(htmlspecialchars_decode($data),$myData);一,php7.2后不支持不给第二个参数使用。二,如果接受的数据被 htmlspecialchars等函数实体化过,则需要转回来,不然mydata数组的键中会存在实例化字符。三,如果字符被urlencode过:func
//图片素材保存到微信临时素材库并返回mediaIDaprotected function sendImgtoWechat($username = ''){$saveDir = ROOTPATH . '/web/images/qrcode/';$file = $saveDir . $username . '_nj.png';//如果不存在if (!file_exists($file)) {...
1.docker容器跑着为啥会挂掉?docker 容器默认会把容器内部第一个进程,也就是pid=1的程序作为docker容器是否正在运行的依据,如果docker 容器pid挂了,那么docker容器便会直接退出。2.docker run的时候把command最为容器内部命令,如果你使用nginx,那么nginx程序将后台运行,这个时候nginx并不是pid为1的程序,而是执行的bash,...
无论是pdo还是mysqli出现这个问题的原因是php操作mysql无法找到mysql.sock或者mysqld.sock,这根据你的mysql配置文件而定,比如[mysqld]basedir=/usr/local/mysqldatadir=/usr/local/mysql/datapid-file=/usr/local/mysql/mysqld.pidsocket=/usr/l...
<html><body><input type="file" name="imgs" id="imgs" value="" onchange="return filechange()"/></body><script>function filechange(){var img = event.target.files[0];//选择的文件
省(全国各省)http://datavmap-public.oss-cn-hangzhou.aliyuncs.com/areas/csv/100000_province.json市(四川为例),修改数字id即可http://datavmap-public.oss-cn-hangzhou.aliyuncs.com/areas/csv/510000_city.json县http://datavmap-
需要在url访问后缀加/ ,而html等指定后缀不需要加:if ($request_uri!~*\.html$) {rewrite ^(.*[^/])$ $1/ permanent;}







