Loading...
人狠话不多 贴代码://处理微信支付回调 public function notify(){ $testxml = file_get_contents("php://input"); $jsonxml = json_encode(simplexml_load_string($testxml, 'SimpleXMLElement',...
这个坑整死我了,代码一直报错,下面是爆错结果iconv(): Detected an illegal character in input string 解决办法很简单加//IGNORE 就行,代码如下:iconv('GBK', 'UTF-8//IGNORE', $str);
需求:保存正反面图片到指定文件夹,若文件夹不存在则自动创建,之后打包该文件夹进行下载(即压缩下载)代码如下:<?php /* * 下载图片压缩包 * @author CMaZen <cmazen@163.com> * @request https://www.52bz.la */ public function _uploadImgZip(){ //上面获...
官方文档是真的垃圾,导致我聪哥搞了两天没搞定,下面贴成果<script> /** * @param array godata 后端传过来的签名值等 * @return alert 成功 OR 失败 * @Author Reaper(https://www.52bz.la) 丨 聪哥 */ function goshow(go...
项目经理需求,需求是公司穷,没钱,就要免费的,所以有了以下代码/** * 获取物流信息 * @author Reaper <a@0oo.ren> * @request https://www.52bz.la * @param string $postid 快递单号 $code 快递识别码,没有默认自动识别 * @return url */ publi...
这些IP段根本给我们网站带不了什么流量,还天天发广告。之前我博客就是,建议大家全部给拉黑掉,下面的IP5.*.*.* 31.*.*.* 46.*.*.* 77.*.*.* 79.*.*.* 81.*.*.* 82.*.*.* 91.*.*.* 93.*.*.* 94.*.*.* 95.*.*.* 151.*.*.* 178.*.*.* 185.*.*.* 186.*.*.* 195.*.*....