XiunoBBS 修罗论坛得到最新会员的修罗函数 会员相关信息调用计划 得到文章中第一张图片作为标题缩放图
1.XiunoBBS 修罗论坛得到最新会员的函数
2.xiunobbs会员相关信息调用计划
3.得到文章中第一张图片作为标题缩放图
<?得到的函球球大作战脚本ios版php$pattern="/<[img|IMG].*?src=[\|\"](.*?(?:[\.gif|\.jpg|\.png]))[\|\"].*?[\/]?>/";$content = $_thread[message]; //文章内容preg_match_all($pattern,$content,$matchContent);if(isset($matchContent[1][0])){$temp = $matchContent[1][0];}?>/"; $content = $_thread[message]; //文章内容 preg_match_all($pattern,$content,$matchContent); if(isset($matchContent[1][0])){ $temp = $matchContent[1][0]; }?>/"; $content = $_thread[message]; //文章内容 preg_match_all($pattern,$content,$matchContent); if(isset($matchContent[1][0])){ $temp = $matchContent[1][0]; }?>
主要是靠正则匹配出文章的图片,然后选取一个 ,最新球球大作战脚本跟踪送头源码然后在用$temp 调用
<img src"球球大作战挂机脚本php echo $temp;?>">">
">