PHP 获取网页所有链接 @$dom->$hrefs = $xpath->$i <$hrefs->$i++) { $href = $hrefs->$url = $href->br />';} PHP 获取网页所有链接 汪涛 2018-07-08 13:45:56