<?php
$str = file_get_contents("http://bbs.chinaunix.net/thread-1203963-1-1.html"); $aa = "/\<a\s.*\>[a-z]*\<\/a\>/i";
preg_match_all($zz,$str,$image);

echo '<pre>'; print_r($image); echo '</pre>';
?>小白我想将别人博客中的文章转载到我的博客中,在关键词的填写中想要把文章中提到的各个开源项目关键字提取出来,并放到一个数组中,但是在测试中出错,希望得到大虾的指教。小白感激不尽