摘要: qrcode下载 二维码是一个近几年来移动设备上超流行的一种编码方式,最早出现在20世纪20年代,到1988年才引入中国。现在,日常生活中更是随处可见。它比传统的Bar Code条形码能存更多的信息,也能表示更多的数据类型。它具有条码技术的一些共性:每种码制有其特定的字符集;每个字符占有一定的宽度; 阅读全文
posted @ 2022-03-18 19:59 被水遗忘の鱼 阅读(171) 评论(0) 推荐(0) 编辑
摘要: <IfModule mod_rewrite.c> Options +FollowSymlinks -Multiviews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f 阅读全文
posted @ 2022-03-18 19:21 被水遗忘の鱼 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 下载PHPexcel include_once "./lib/PHPExcel.php"; //实例化PHPExcel类,类似于在桌面上新建一个Excel表格 $PHPExcel = new \PHPExcel(); //获得当前活动sheet的操作对象 默认创建一个活动的窗口 $PHPSheet 阅读全文
posted @ 2022-03-18 19:14 被水遗忘の鱼 阅读(129) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <input type="text" id="txt"> document.getElementByI 阅读全文
posted @ 2022-03-18 19:10 被水遗忘の鱼 阅读(14) 评论(0) 推荐(0) 编辑
摘要: public function login(){ $urlencode = urlencode("http://www.xxxx.com/index/Index/callback"); $url = "https://graph.qq.com/oauth2.0/authorize?response_ 阅读全文
posted @ 2022-03-18 19:01 被水遗忘の鱼 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 1.前提条件 国内短信地址:https://console.cloud.tencent.com/smsv2 已开通短信服务,具体操作请参见 国内短信快速入门。 如需发送国内短信,需要先 购买国内短信套餐包。 已准备依赖环境:PHP 5.6.33 及以上版本。 已在访问管理控制台 >API密钥管理页面 阅读全文
posted @ 2022-03-18 19:00 被水遗忘の鱼 阅读(201) 评论(0) 推荐(0) 编辑
摘要: function makeCookie($key,$val){ // 查看cookie中是否已经存过键为history_ids if(Cookie::has($key)){ // 已经存过了 $json_str = Cookie::get($key); // 获取的数据是json字符串,需要转成数组 阅读全文
posted @ 2022-03-18 18:57 被水遗忘の鱼 阅读(4) 评论(0) 推荐(0) 编辑
摘要: public function curl($url, $params = false, $ispost = 0) { $httpInfo = array(); //初始化 $ch = curl_init(); /*CURL_HTTP_VERSION_NONE (默认值,让 cURL 自己判断使用哪个 阅读全文
posted @ 2022-03-18 18:57 被水遗忘の鱼 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 1 class Wechat 2 { 3 public function __construct(){ 4 $this->checkSignature(); 5 } 6 7 private function checkSignature() 8 { 9 $signature = $_GET["sig 阅读全文
posted @ 2022-03-18 18:54 被水遗忘の鱼 阅读(119) 评论(0) 推荐(0) 编辑
摘要: <script> var $nowtime = Date.parse(new Date())/1000; function f(start_time,end_time,ids){ // 1.获取当前时间 $nowtime = Date.parse(new Date())/1000; var t = 阅读全文
posted @ 2022-03-18 17:15 被水遗忘の鱼 阅读(28) 评论(0) 推荐(0) 编辑