[man]file_get_contents/man the page you want....
Then do a quick [man]preg_match_all/man of a pattern for a link....
Then display your results as you see fit....
<?php
// Get Yahoo! Links:
$url = 'http://www.yahoo.com';
$contents = file_get_contents($url);
$contents = substr($contents, strpos($contents, '<body'), ( (strpos($contents, '</body>'))-(strpos($contents, '<body')) ));
$pattern = "@<a href=([^\s|>]*)[^>]?>([^<]*)</a>@si";
preg_match_all($pattern, $contents, $matches);
array_shift($matches); // Remove the full page code from the array
// Display results:
$max = count($matches[0]);
for($i=0; $i<$max; $i++)
{
echo '<b>'.$matches[1][$i].'</b>: '.$matches[0][$i].'<br />';
}
?>