会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
mali0932
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
下一页
2016年1月6日
file_get_contents带bom
摘要: $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
阅读(149)
评论(0)
推荐(0)
2015年12月3日
jsonp 实例
摘要: 一直以为很复杂吧?其实很简单,简单到你不敢相信1.前端引好jquery文件2.前端代码:$.ajax({ url: 'http://www.xxxxxxxx.com/expand.ashx', dataType: 'jsonp', jsonp: 'jsoncallback'});//这里...
阅读全文
posted @ 2015-12-03 15:20 mali0932
阅读(135)
评论(0)
推荐(0)
2015年11月13日
c#过滤html标签
摘要: publicstringHtmlFilter(stringhtml){//设置要删除的标记string[]lable={"font","span","strong","","div","br",""};foreach(stringlbinlable){stringreg=String.Format(...
阅读全文
posted @ 2015-11-13 16:14 mali0932
阅读(152)
评论(0)
推荐(0)
2015年10月24日
a标签产生间隙,<a> 包裹 <img> 产生 4px 间隙
摘要: 图片文字等inline元素默认是和父级元素的baseline对齐的,而baseline又和父级底边有一定距离(这个距离和 font-size,font-family 相关),所以设置 vertical-align:top/bottom/text-top/text-bottom 都可以避免这种情况出现...
阅读全文
posted @ 2015-10-24 19:44 mali0932
阅读(255)
评论(0)
推荐(1)
2015年10月3日
远程桌面无法复制黏贴文件到本机电脑?
摘要: 直接cmd -rdpclip.exe 搞定
阅读全文
posted @ 2015-10-03 23:31 mali0932
阅读(247)
评论(0)
推荐(0)
2015年1月9日
.net 根据银行卡获取银行信息
摘要: 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
阅读(838)
评论(0)
推荐(0)
2014年12月8日
正则随记
摘要: stringsql="";RegexrReg=newRegex(@""[\s\S]*?"",RegexOptions.IgnoreCase);stringpContent=rReg.Match(sql).Value;string sql = "metadata=res://*/M...
阅读全文
posted @ 2014-12-08 15:52 mali0932
阅读(176)
评论(0)
推荐(0)
2014年10月10日
正则删除标签的属性
摘要: tppabs="h[^"]*"
阅读全文
posted @ 2014-10-10 14:51 mali0932
阅读(236)
评论(0)
推荐(0)
2014年10月5日
jquery 用attr修改src 淡入淡出
摘要: $("#wanwan").animate({ opacity: 'toggle' }, "slow", null, function () {$("#wanwan").attr("src", "images/back_1.gif");$("#wanwan").animate({ opacity: '...
阅读全文
posted @ 2014-10-05 21:10 mali0932
阅读(566)
评论(0)
推荐(0)
2014年8月12日
微信支付 发布后显示 System:access_denied
摘要: 微信支付发布后显示 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
阅读(5759)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告