How can I extract the links from a page of HTML?
<p>I am trying to download a file in php.</p>

<pre><code>$file = file_get_contents($url);
</code></pre>

<p>How should i download the contents of the links within the file in $url...</p>
