打你一下

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 打你一下 阅读(787) 评论(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 打你一下 阅读(535) 评论(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 打你一下 阅读(384) 评论(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 打你一下 阅读(320) 评论(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 打你一下 阅读(356) 评论(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 打你一下 阅读(377) 评论(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 打你一下 阅读(946) 评论(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 打你一下 阅读(1588) 评论(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 打你一下 阅读(429) 评论(0) 推荐(0)

php微信解密

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

posted @ 2020-06-27 15:51 打你一下 阅读(441) 评论(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 打你一下 阅读(589) 评论(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 打你一下 阅读(302) 评论(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 打你一下 阅读(1476) 评论(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 打你一下 阅读(385) 评论(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 打你一下 阅读(312) 评论(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 打你一下 阅读(657) 评论(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 打你一下 阅读(325) 评论(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 打你一下 阅读(231) 评论(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 打你一下 阅读(233) 评论(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 打你一下 阅读(1189) 评论(0) 推荐(0)

php计算经纬度是否在区域内

摘要: <?php namespace lib; /** * Description of Area * * @author lsf */class Area{ // 一个表示区域的三维数组 protected $config = null; // 包含每个区域的四边形 protected $rectang 阅读全文

posted @ 2020-06-27 15:26 打你一下 阅读(1463) 评论(1) 推荐(0)

php发送阿里云短信

摘要: <?php /** * 签名助手 2017/11/19 * * Class SignatureHelper */class SignatureHelper { /** * 生成签名并发起请求 * * @param $accessKeyId string AccessKeyId (https://ak 阅读全文

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

tp5备份数据库

摘要: <?php /** * 备份数据库的扩展类 */class Baksql { private $config = []; private $handler; private $tables = array(); //需要备份的表 private $begin; //开始时间 private $err 阅读全文

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

php生成海报

摘要: <?php namespace lib; /** * Description of Poster * * @author lsf */class Poster { //put your code here// header("Content-type:image/png");// imagepng( 阅读全文

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

tp5的rsa加密

摘要: <?php /** * Description of Rsa * * @author lsf */ namespace lib; class Rsa { //put your code here static public $private_parm = null; static public $p 阅读全文

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

导航