/trunk/daniel_internal/hyperlink_compare.php |
---|
0,0 → 1,11 |
<?php |
//$cont = file_get_contents('http://oid-info.com/faq.htm'); |
$cont = file_get_contents(__DIR__.'/../faq.raw.htm'); |
preg_match_all('@href="(.+)"@ismU', $cont, $m); |
foreach ($m[1] as $link) { |
if ($link == '#top') continue; |
echo "$link\n"; |
} |