摘要: <?php class Crumb { const SALT = 'http:test.com'; static $ttl = 7200; static public function issueCrumb($uid, $ttl=7200, $action= -1) { if(intval($ttl 阅读全文
posted @ 2018-05-07 11:36 6671 阅读(230) 评论(0) 推荐(0) 编辑
摘要: file_put_contents("./cache/read_print.php", $tpls); ob_start(); include './cache/read_print.php'; $out = ob_get_clean(); 阅读全文
posted @ 2018-05-05 13:27 6671 阅读(130) 评论(0) 推荐(0) 编辑
摘要: wx.createAudioContext(audioId) 创建并返回 audio 上下文 audioContext 对象 audioContext audioContext 通过 audioId 跟一个 audio 组件绑定,通过它可以操作一个 audio 组件。 audioContext对象的 阅读全文
posted @ 2018-04-03 11:20 6671 阅读(214) 评论(0) 推荐(0) 编辑
摘要: nginx 配置 阅读全文
posted @ 2018-03-27 14:32 6671 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 秘钥生成 阅读全文
posted @ 2018-02-26 16:50 6671 阅读(410) 评论(0) 推荐(0) 编辑
摘要: function js_post(URL, PARAMS) { var temp = document.createElement("form"); temp.target = "_blank"; temp.action = URL; temp.method = "post"; temp.style.display ... 阅读全文
posted @ 2018-02-02 13:18 6671 阅读(129) 评论(0) 推荐(0) 编辑
摘要: wxuser = $wxuser; } public function getSgin($access_token) { //$wxuser = getCache('wx_'.$this->_mid.'_user'); $filename = PIGCMS_PATH.'upload/token/share_wxinfo.php'... 阅读全文
posted @ 2018-02-01 11:04 6671 阅读(522) 评论(0) 推荐(0) 编辑
摘要: countDownetCode: function (that) { var currentTime = that.data.currentTime; that.setData({ time: currentTime + '秒' }) var interval = setInterval(function () { that.se... 阅读全文
posted @ 2018-01-30 18:22 6671 阅读(517) 评论(0) 推荐(0) 编辑
摘要: $str="<?php \r\n return ".var_export($config,true).';'; $ret = file_put_contents('./config.php', $str); 阅读全文
posted @ 2018-01-30 18:20 6671 阅读(124) 评论(0) 推荐(0) 编辑
摘要: wxml css js 阅读全文
posted @ 2018-01-20 10:21 6671 阅读(196) 评论(0) 推荐(0) 编辑