随笔分类 -  discuz

摘要:/** * 获取替换文章中的图片路径 * @param string $xstr 内容 * @param string $keyword 创建照片的文件名 * @param string $oriweb 网址 * @return string * */function replaceimg($xstr,$keyword, $oriweb){ //保存路径 $d = date('Ymd', time()); $dirslsitss = '/var/www/weblist/uploads/'.$keyword.'/'.$d;//分类是否存在 if(! 阅读全文
posted @ 2013-07-05 14:13 kevin_xk 阅读(1445) 评论(0) 推荐(1)
摘要:discuz获取数据库中的信息,把表中信息的标签进行转化require_once libfile('function/discuzcode');$message = discuzcode($row[message]); 阅读全文
posted @ 2013-06-13 14:26 kevin_xk 阅读(1426) 评论(0) 推荐(0)