打你一下

2020年6月27日

apache配置反向代理

摘要: Listen 443 <VirtualHost *:443> #extra/httpd-ssl.confDocumentRoot "D:\web\student"ServerName student.weihom.netSSLEngine on # Proxy ConfigSSLProxyEngin 阅读全文

posted @ 2020-06-27 17:07 打你一下 阅读(751) 评论(0) 推荐(0) 编辑

phptp5递归查询

摘要: //获取拿货上级 public function getTakeGoodsMember($member_id) { $allMember = Db::query("SELECT id,superior_userid,user_name,level_id,take_goods_userid FROM 阅读全文

posted @ 2020-06-27 17:00 打你一下 阅读(497) 评论(0) 推荐(0) 编辑

php百万数据导出csv

摘要: <?phpset_time_limit(0);ini_set('memory_limit', '128M'); $fileName = date('YmdHis', time());header('Content-Encoding: UTF-8');header("Content-type:appl 阅读全文

posted @ 2020-06-27 16:57 打你一下 阅读(286) 评论(0) 推荐(0) 编辑

php极光推送

摘要: <?php namespace addons\takeoutshop\common\model; use GatewayWorker\Lib\Gateway;use think\Db;use addons\takeoutshop\common\model\TakeoutshopToolAllStat 阅读全文

posted @ 2020-06-27 16:41 打你一下 阅读(268) 评论(0) 推荐(0) 编辑

php公众号相关类

摘要: <?php namespace lib; use think\Cache; class Weapp { const MSGTYPE_TEXT = 'text'; const MSGTYPE_IMAGE = 'image'; const MSGTYPE_LOCATION = 'location'; c 阅读全文

posted @ 2020-06-27 16:20 打你一下 阅读(289) 评论(0) 推荐(0) 编辑

php常用函数

摘要: <?php // + // 应用公共文件/** * 获取随机数的长度 * @param type $length 随机数长度 * @return string */use think\Db;use think\Cookie;use lib\Rsa;use think\File;use think\R 阅读全文

posted @ 2020-06-27 16:12 打你一下 阅读(330) 评论(0) 推荐(0) 编辑

php判读是请求是http还是https

摘要: function GetHttp() { if (isset($_SERVER['HTTPS']) && ('1' == $_SERVER['HTTPS'] || 'on' == strtolower($_SERVER['HTTPS']))) { return "https://"; } elsei 阅读全文

posted @ 2020-06-27 16:11 打你一下 阅读(891) 评论(0) 推荐(0) 编辑

php微信支付回调验证签名

摘要: function verifySign($params,$apikey="PvXTgIhJOkRZnfOs9JQ7SANnV5KfsHTJ") { ksort($params); $string=""; foreach ($params as $k => $v) { if($k != "sign" 阅读全文

posted @ 2020-06-27 16:10 打你一下 阅读(1490) 评论(0) 推荐(0) 编辑

php微信支付

摘要: <?php namespace lib; use think\Loader; /** * Description of aliyunsms * * @author lsf */class Wepay { /*服务商支付 * appid公众号APPID,appsecret公众号appsecret,mc 阅读全文

posted @ 2020-06-27 15:52 打你一下 阅读(390) 评论(0) 推荐(0) 编辑

php微信解密

摘要: <?php namespace lib; use lib\errorCode; class WXBizDataCrypt{ private $appid; private $sessionKey; /** * 构造函数 * @param $sessionKey string 用户在小程序登录后获取的 阅读全文

posted @ 2020-06-27 15:51 打你一下 阅读(386) 评论(0) 推荐(0) 编辑

php华为云虚拟电话

摘要: <?php namespace lib; /** * Description of Qrcode * * @author lsf */class HuaweiyunPls { public $recordDomain; public $realUrl; public $APP_KEY; public 阅读全文

posted @ 2020-06-27 15:50 打你一下 阅读(519) 评论(0) 推荐(0) 编辑

phpexcel导出

摘要: <?php namespace lib; /** * Description of Excel * * @author lsf */use think\Exception;use think\Loader; class Excel { /** * TP5 Excel专用类库 * $excel=new 阅读全文

posted @ 2020-06-27 15:49 打你一下 阅读(273) 评论(0) 推荐(0) 编辑

php阿里云虚拟电话

摘要: <?php namespace lib; use think\Loader;use Aliyun\Core\Config;use Aliyun\Core\Exception\ClientException;use Aliyun\Core\Profile\DefaultProfile;use Aliy 阅读全文

posted @ 2020-06-27 15:48 打你一下 阅读(1311) 评论(0) 推荐(0) 编辑

php支付宝支付

摘要: <?php namespace lib; use think\Loader; /** * Description of aliyunsms * * @author lsf */class Alipay { /** * * @param type $option ordersn单号,title订单名称 阅读全文

posted @ 2020-06-27 15:47 打你一下 阅读(341) 评论(0) 推荐(0) 编辑

php百度轨迹

摘要: <?php /** * Description of Rsa * * @author lsf */ namespace lib; class BaiDuTsapi { //apk='1amCKqfKoSobuxXg3q1Q1rYiUOX7czX9' //put your code here //创建 阅读全文

posted @ 2020-06-27 15:38 打你一下 阅读(274) 评论(0) 推荐(0) 编辑

php高德轨迹

摘要: <?php /** * Description of Rsa * * @author lsf */ namespace lib; class GaoDeTsapi { //put your code here //创建服务 static public $service_add = "https:// 阅读全文

posted @ 2020-06-27 15:37 打你一下 阅读(562) 评论(0) 推荐(0) 编辑

php生成二维码

摘要: <?php /* * PHP QR Code encoder * * This file contains MERGED version of PHP QR Code library. * It was auto-generated from full version for your conven 阅读全文

posted @ 2020-06-27 15:36 打你一下 阅读(302) 评论(0) 推荐(0) 编辑

php七牛云

摘要: <?php namespace lib; use think\Loader; /** * Description of Qrcode * * @author lsf */class Qiniu { private $bucket; private $uploadMgr; private $qiniu 阅读全文

posted @ 2020-06-27 15:35 打你一下 阅读(206) 评论(0) 推荐(0) 编辑

php网云发短信

摘要: <?php namespace lib; /** * Description of Qrcode * 网云发送短信 * @author lsf */class Wangyuncms { /** * 多个发送短信 * @param type $mobile * @param type $setting 阅读全文

posted @ 2020-06-27 15:34 打你一下 阅读(211) 评论(0) 推荐(0) 编辑

php各个坐标系转换

摘要: <?php namespace lib; /** * Description of Map * * @author lsf */class Map{ const x_PI = 52.35987755982988; const PI = 3.1415926535897932384626; const 阅读全文

posted @ 2020-06-27 15:27 打你一下 阅读(1019) 评论(0) 推荐(0) 编辑

导航