12 2019 档案

摘要:/** * 加密函数 * @param string $txt 需要加密的字符串 * @param string $key 密钥 * @return string 返回加密结果 */function atom_encrypt($txt, $key = ''){ if (empty($txt)) re 阅读全文
posted @ 2019-12-13 11:22 沧海一粒沙 阅读(591) 评论(0) 推荐(0)
摘要:引入Excel第三方库 cd 到verdor/composer文件夹下 运行命令 composer require phpoffice/phpexcel 找到\vendor\composer\vendor\phpoffice\phpexcel\Classes 复制类到 extend/phpexcel 阅读全文
posted @ 2019-12-13 11:06 沧海一粒沙 阅读(237) 评论(0) 推荐(0)
摘要:1 file_get_condents();一般做读取文件内容使用 大文件时可做分段读取 $content=file_get_contents("2.sql",FALSE,NULL,1024*1024,1024); 2 file_put_contents();存入文件内容,未搜索到文件则创建新文件 阅读全文
posted @ 2019-12-13 10:16 沧海一粒沙 阅读(330) 评论(0) 推荐(0)
摘要:支付宝本地测试支付 使用沙箱环境实现 测试回调需要做一个内网穿透 1 进入ngrok官网 https://dashboard.ngrok.com https://ngrok.com ,注册ngrok账号并下载ngrok 2登录后复制授权码 cmd本地找到ngrok.exe文件位置运行 ngrok a 阅读全文
posted @ 2019-12-12 17:41 沧海一粒沙 阅读(1240) 评论(0) 推荐(0)