Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
20 | daniel-mar | 1 | <?php |
2 | |||
3 | //$cont = file_get_contents('http://oid-info.com/faq.htm'); |
||
4 | $cont = file_get_contents(__DIR__.'/../faq.raw.htm'); |
||
5 | |||
6 | |||
7 | preg_match_all('@href="(.+)"@ismU', $cont, $m); |
||
8 | foreach ($m[1] as $link) { |
||
9 | if ($link == '#top') continue; |
||
10 | echo "$link\n"; |
||
11 | } |