摘要: 1、php匹配全角字符(中文)的正则:\x80-\xff2、查找替换[xx],替换在回调函数next_yeay()中 preg_replace_callback( "/(\[+[a-zA-Z0-9\x80-\xff]+\])/", "next_year", $content);3、先在遇到zend的insert向mysql中插入blob数据时失败: 在开始的程序中写法是$bigAvatardata = fread(fopen($bigurl, "r"),filesize($bigurl));$smallAvatardata = fre 阅读全文
posted @ 2011-05-27 17:40 长城的草 阅读(270) 评论(0) 推荐(0) 编辑