会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
大匠
CnBlogs
Home
New Post
Contact
Admin
Subscription
上一页
1
2
3
4
5
下一页
2015年7月24日
关于apache做301的问题
http://www.internetmarketingninjas.com/blog/search-engine-optimization/301-redirects/RedirectMatch 301 /cy_zhongxikuaican/ http://cy.baidu.com/kuaican...
Read More
posted @ 2015-07-24 13:54 大匠
Views(169)
Comments(0)
Diggs(0)
2015年6月30日
smarty中使用truncate出现乱码,用mb_substr解决
Read More
posted @ 2015-06-30 18:12 大匠
Views(174)
Comments(0)
Diggs(0)
2015年6月18日
在eclipse中使用正则表达式进行搜素
http://www.eclipse.org/tptp/home/downloads/installguide/gla_42/ref/rregexp.html
Read More
posted @ 2015-06-18 16:41 大匠
Views(230)
Comments(0)
Diggs(0)
2015年6月5日
sprintf数据库查询的作用
$sql = sprintf("UPDATE file SET mimetype=null,title=null,size=null,protected=null WHERE id=%d",$f->id);
Read More
posted @ 2015-06-05 16:24 大匠
Views(381)
Comments(0)
Diggs(0)
把一个整数随机折分?比如把100随机折分20分,20分加起来必须等于100
$all=100;/*** *all 要分配的总数 *times 要分配的次数 *max 分配能够达到的最大值 *min 分配的最小值 * *先采用用户的分配‘最大值’,如果这个分配值大于当前剩余的总数,那这个最大值也就没有意义,就直接用当前剩余的最大值作为参考 */function distrib...
Read More
posted @ 2015-06-05 15:16 大匠
Views(274)
Comments(0)
Diggs(0)
2015年5月26日
当html标签不被识别时(不解析)不妨试试htmlspecialchars_decode();试试
当html标签不被识别时(不解析)不妨试试htmlspecialchars_decode();试试
Read More
posted @ 2015-05-26 14:10 大匠
Views(1730)
Comments(0)
Diggs(0)
使用所见即所得文本编辑器编辑文本存入数据库后通过ajax获取服务器json_encode的数据到前台,文本内容上边的html标签不解析
使用所见即所得文本编辑器编辑文本存入数据库后通过ajax获取服务器json_encode的数据到前台,文本内容上边的html标签不解析因为我在前台使用了jquery的text()方法,而不是html()方法,text()方法是不会解析成html标签的只会当文本输出,而html()方法可以
Read More
posted @ 2015-05-26 13:49 大匠
Views(217)
Comments(0)
Diggs(0)
2015年3月21日
sougo历史版本地址
http://pinyin.sogou.com/bbs/forum.php?mod=viewthread&tid=121320&extra=page%3D1
Read More
posted @ 2015-03-21 19:29 大匠
Views(226)
Comments(0)
Diggs(0)
2015年1月6日
ERROR 2006 (HY000) at line xx: MySQL server has gone away 解决方法
Read More
posted @ 2015-01-06 09:59 大匠
Views(170)
Comments(0)
Diggs(0)
2014年9月26日
正则
当匹配中的分组有嵌套时,是从外向里匹配的,其次在由左向右匹配 摘抄自http://social.msdn.microsoft.com/Forums/en-US/4305d5d4-1709-4c0f-86ae-3db78d08bced/url 在写一个采集网页源代码的时候遇到一个问题: 匹配URL,以
Read More
posted @ 2014-09-26 14:16 大匠
Views(139)
Comments(0)
Diggs(0)
上一页
1
2
3
4
5
下一页
公告