摘要: $dmText=file_get_contents( AROOT .'data'. DS .'DMType.json.php');if(preg_match('/^\xEF\xBB\xBF/',$dmText)){$dmText=substr($dmText,3);}//trim$dmText= t... 阅读全文
posted @ 2016-01-06 15:50 mali0932 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 一直以为很复杂吧?其实很简单,简单到你不敢相信1.前端引好jquery文件2.前端代码:$.ajax({ url: 'http://www.xxxxxxxx.com/expand.ashx', dataType: 'jsonp', jsonp: 'jsoncallback'});//这里... 阅读全文
posted @ 2015-12-03 15:20 mali0932 阅读(130) 评论(0) 推荐(0) 编辑
摘要: publicstringHtmlFilter(stringhtml){//设置要删除的标记string[]lable={"font","span","strong","","div","br",""};foreach(stringlbinlable){stringreg=String.Format(... 阅读全文
posted @ 2015-11-13 16:14 mali0932 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 图片文字等inline元素默认是和父级元素的baseline对齐的,而baseline又和父级底边有一定距离(这个距离和 font-size,font-family 相关),所以设置 vertical-align:top/bottom/text-top/text-bottom 都可以避免这种情况出现... 阅读全文
posted @ 2015-10-24 19:44 mali0932 阅读(245) 评论(0) 推荐(1) 编辑
摘要: 直接cmd -rdpclip.exe 搞定 阅读全文
posted @ 2015-10-03 23:31 mali0932 阅读(231) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;/// ///GetBank 的摘要说明/// public class GetBank{ //bin号 private long[]... 阅读全文
posted @ 2015-01-09 12:36 mali0932 阅读(764) 评论(0) 推荐(0) 编辑
摘要: stringsql="";RegexrReg=newRegex(@""[\s\S]*?"",RegexOptions.IgnoreCase);stringpContent=rReg.Match(sql).Value;string sql = "metadata=res://*/M... 阅读全文
posted @ 2014-12-08 15:52 mali0932 阅读(164) 评论(0) 推荐(0) 编辑
摘要: tppabs="h[^"]*" 阅读全文
posted @ 2014-10-10 14:51 mali0932 阅读(229) 评论(0) 推荐(0) 编辑
摘要: $("#wanwan").animate({ opacity: 'toggle' }, "slow", null, function () {$("#wanwan").attr("src", "images/back_1.gif");$("#wanwan").animate({ opacity: '... 阅读全文
posted @ 2014-10-05 21:10 mali0932 阅读(560) 评论(0) 推荐(0) 编辑
摘要: 微信支付发布后显示 System:access_denied (android)或System:not_allow(IOS)我们项目用的是.NET MVC3授权目录是:http://mynetdream.com/wxpay/支付实例是:http://mynetdream.com/wxpay/pay(... 阅读全文
posted @ 2014-08-12 11:49 mali0932 阅读(5360) 评论(0) 推荐(0) 编辑