摘要: //读取 $str = file_get_contents('gjc.txt'); $str_encoding = mb_convert_encoding($str, 'UTF-8', 'UTF-8,GBK,GB2312,BIG5');//转换字符集(编码) $arr = explode("\r\n", $str_encoding);//转换成数组 \r\n必... 阅读全文
posted @ 2018-07-10 11:27 无限REIZ 阅读(257) 评论(0) 推荐(0) 编辑
摘要: ini_set("memory_limit", "2018M"); // 不够继续加大 set_time_limit(0); $templateName = 'excel.xlsx'; $objReader = new \PHPExcel_Reader_Excel2007(); if(!$objReader->can... 阅读全文
posted @ 2018-07-08 17:10 无限REIZ 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 1064 路径不对,需要cd选到mysql bin目录下 1049 在cmd里面不需要分号 以下是正确的 E:\phpStudy\PHPTutorial\MySQL\bin>mysqldump -uroot -proot db >db.sql 阅读全文
posted @ 2018-06-26 09:04 无限REIZ 阅读(294) 评论(0) 推荐(0) 编辑
摘要: dd.ready不运行 https://open-doc.dingtalk.com/docs/doc.htm?spm=a219a.7629140.0.0.SsFFZP&treeId=171&articleId=107553&docType=1 明确说了不要dd.config 一直运行要去看权限检查, 阅读全文
posted @ 2018-06-25 15:41 无限REIZ 阅读(1190) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-05-31 17:05 无限REIZ 阅读(151) 评论(0) 推荐(0) 编辑
摘要: var dateDiff = function (timestamp) { // 补全为13位 var arrTimestamp = (timestamp + '').split(''); ... 阅读全文
posted @ 2018-05-30 16:16 无限REIZ 阅读(160) 评论(0) 推荐(0) 编辑
摘要: server { listen 443 ssl http2 default_server; listen [::]:443 ssl http2 default_server; server_name xxx.com; root /var/www; ssl_certificate "cert/xxxx 阅读全文
posted @ 2018-05-11 14:26 无限REIZ 阅读(384) 评论(0) 推荐(0) 编辑
摘要: 文件在,但是报错 failedtoopenstream:Nosuchfileordirectory 执行 composer dump-autoload 命令 Pleaseprovideavalidcachepath. 缺少cache 目录,新建目录,然后清除缓存。 阅读全文
posted @ 2018-04-10 16:49 无限REIZ 阅读(229) 评论(0) 推荐(0) 编辑
摘要: https://xdebug.org/download.php 下载最新的xdebug.dll 阅读全文
posted @ 2018-03-25 22:12 无限REIZ 阅读(2564) 评论(0) 推荐(0) 编辑
摘要: Redirect_uri 10003错误,微信公众号信息配置 没修改 url未注册 统一下单链接http://xxxxx.com/example/jsapi.php,配置的地址是http://xxx.com/example/ 微信支付appid不存在 拆开来写WeixinJSBridge.invoke( 'getBrandWCPayRequest', {"appId":"{$c... 阅读全文
posted @ 2018-03-20 09:52 无限REIZ 阅读(2302) 评论(0) 推荐(0) 编辑