Fork me on github
上一页 1 2 3 4 5 6 7 8 ··· 20 下一页
摘要: 公众号支付即在微信内调用微信支付的方式,即JSAPI支付。此方法不适用于在微信外部浏览器。 1、下载支付SDK: https://pay.weixin.qq.com/wiki/doc/api/download/WxpayAPI_php_v3.zip。 2、假定备案的域名为xxx.com,将支付SDK解压至xxx.com/wxpay目录下. 3、从商户平台申请API密钥及证书,并将证书放... 阅读全文
posted @ 2017-09-30 14:24 Champion-水龙果 阅读(650) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2017-09-30 13:59 Champion-水龙果 阅读(2016) 评论(0) 推荐(0)
摘要: css: html部分: 1 2 3 4 5 6 7 8 9 10 11 ... 阅读全文
posted @ 2017-09-27 18:05 Champion-水龙果 阅读(312) 评论(0) 推荐(0)
摘要: function curl_https($url,$data){ $ch = curl_init (); curl_setopt ( $ch, CURLOPT_URL, $url ); curl_setopt ( $ch, CURLOPT_POST, 1 ); curl_setopt ( $ch, CURLOPT_HEADER, 0 ); curl_setopt ( $ch... 阅读全文
posted @ 2017-02-24 10:54 Champion-水龙果 阅读(205) 评论(0) 推荐(0)
摘要: 根据经纬度获取地址信息 阅读全文
posted @ 2016-12-23 11:23 Champion-水龙果 阅读(6711) 评论(0) 推荐(0)
摘要: ", $decrypt; ?> 阅读全文
posted @ 2016-12-22 16:00 Champion-水龙果 阅读(305) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2016-11-22 10:44 Champion-水龙果 阅读(556) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2016-11-22 10:39 Champion-水龙果 阅读(1975) 评论(0) 推荐(0)
摘要: 当我们说到压缩,我们可能会想到文件压缩,其实,字符串也是可以压缩的。 PHP提供了 gzcompress() 和gzuncompress() 函数: $string = “Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc ut 阅读全文
posted @ 2016-11-09 10:48 Champion-水龙果 阅读(5699) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2016-08-26 15:04 Champion-水龙果 阅读(7909) 评论(0) 推荐(0)
摘要: 第一步,进入discuz后台,点击UCenter菜单,然后点击应用管理,接着点击右侧的添加新应用按钮 然后填写应用相关信息: 1、应用类型选择“其他” 2、应该名称填写“phpcms” //此处可以自己定义名称 3、应用的主URL填 http://你的域名/phpsso_server //我的是ht... 阅读全文
posted @ 2016-07-25 18:17 Champion-水龙果 阅读(333) 评论(0) 推荐(0)
摘要: 整合原理: UCenter 作服务端;phpsso 与 Discuz! 分别作 UCenter 的客户端应用;phpsso 与 Discuz! 通过 UCenter 发生交互。 phpcms 通过 phpsso 与 Discuz! 发生交互。 第一步:安装 phpcms V9 。安装 Discuz! X2 (同时安装 UCenter)。 第二步:在 UCenter 中添加“phpsso 应... 阅读全文
posted @ 2016-07-25 18:13 Champion-水龙果 阅读(307) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2016-07-22 15:14 Champion-水龙果 阅读(2063) 评论(1) 推荐(0)
摘要: $(':input:enabled:visible:first').focus(); $("input:text:visible:first").focus(); 表单元素选择器: $(":input") 选择所有的表单输入元素,包括input, textarea, select 和 button $(":text") ... 阅读全文
posted @ 2016-07-01 16:20 Champion-水龙果 阅读(3357) 评论(0) 推荐(0)
摘要: 教你如何用100块钱把两个妹子带回家 早晨揣着粉红色的新版毛爷爷出门上班,在巷子里买个鸡蛋和豆浆油条或肉包子,一瞅手表要迟到了, 顺带打个车,毛爷爷这时就换装变绿色儿了。 熬过昏昏欲睡的上午,想着慰劳下自己,什么大虾就不考虑了,但至少也要有菜有肉吧。 本着荤素搭配营养均衡的原则,大家可以点个排骨饭套 阅读全文
posted @ 2016-05-25 14:25 Champion-水龙果 阅读(342) 评论(0) 推荐(0)
摘要: 转载于:http://blog.sina.com.cn/s/blog_76e7bdba01016p2p.htmlCI中第一次连接数据库,在控制器或模型的构造函数里输入以下语句 $this->load->database(); 就不需要重复连接, 在那个控制器或模型就可以做任意多次的查询。 查询操作(等同select) 方法一: $query = $this->db->get('sit... 阅读全文
posted @ 2016-05-23 18:14 Champion-水龙果 阅读(1307) 评论(0) 推荐(0)
摘要: CommonController.class.php redirect("/Index/login"); } } public function _empty(){ $this->error('工程师正在维护,请稍后!!!'); } } IndexController.class.php display(); } public functio... 阅读全文
posted @ 2016-05-19 17:22 Champion-水龙果 阅读(1010) 评论(0) 推荐(0)
摘要: 非常给力的authcode加密函数,Discuz!经典代码(带详解) function authcode($string, $operation = 'DECODE', $key = '', $expiry = 0) { // 动态密匙长度,相同的明文会生成不同密文就是依靠动态密匙 $ckey_length = 4; // 密匙 ... 阅读全文
posted @ 2016-05-12 12:06 Champion-水龙果 阅读(506) 评论(0) 推荐(0)
摘要: 1、重新启动Windows XP,在启动画面出现后的瞬间,按F8,选择带命令行的安全模式运行。 2、运行过程停止时,系统列出了超级用户administrator和本地用户owner的选择菜单,鼠标点击administrator,进入命令行模式。 3、键入命令:net user owner 123456 /add,强制性将OWNER用户的口令更改为123456。 若想在此添加某一用户(如... 阅读全文
posted @ 2016-05-03 14:56 Champion-水龙果 阅读(229) 评论(0) 推荐(0)
摘要: 选取用来挂马的页面一般是网站的首页 比如:index.htm、index.html、index.asp、index.aspx、index.php、index.cgi、index.jsp、default.htm、default.html default.asp default.aspx default.cgi default.jsp default.php等等,大家就自己记录下来吧,其他页面也可... 阅读全文
posted @ 2016-05-03 14:45 Champion-水龙果 阅读(673) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 20 下一页
Champion-水龙果