1  如何在框架中得到下面框架中动态得到的外部网页的HTML
在上面的frame里提交的地方写明target是什么
<form action='aaa.php' target='下面frame的名字'>2 如何取出页面中所有target=gongneng 的链接的链接地址?
$string = '<a href="http://www1.5460.net/gy5460/jsp/login/gongneng.jsp?csid=6081498" target=gongneng>中国人民抗日战争纪念</A>aaa<a href="http://www2.5460.net/gy5461/jsp/login/gongneng.jsp?csid=6081498" target=gongneng>中国人民抗日战争纪念</A>bbb<a href="http://www3.5460.net/gy5462/jsp/login/gongneng.jsp?csid=6081498" target=gongneng>中国人民抗日战争纪念</A>';
preg_match_all('/<A href=\"(.*)\".*target=gongneng.*<\/A>/isU', $string, $stringTemp);
for ($i=0; $i<count($stringTemp[1]); $i++){
    echo $stringTemp[1][$i]."<br>";
}