摘要: PHP:正则表达式处理微博中的话题和对象名转自:http://www.oschina.net/code/snippet_54100_3411$post_content = "@oschina和@twitter在研究用#PHP#的#正则表达式#过滤话题和对象名";$tag_pattern = "/\#([^\#|.]+)\#/";preg_match_all($tag_pattern, $post_content, $tagsarr);$tags = implode(',',$tagsarr[1]);$user_pattern = &quo 阅读全文
posted @ 2012-03-10 15:32 noevil 阅读(729) 评论(0) 推荐(1) 编辑
摘要: (记一些资料,Genosage的Sql需要好好优化一下。)Mysql分页limit 优化http://willko.iteye.com/blog/325618 阅读全文
posted @ 2012-03-10 08:04 noevil 阅读(235) 评论(0) 推荐(0) 编辑