Pulling a string (link) from file_get_contents?
<p>So, I just got home from work and my mind's dead, but let me see if I have this right..</p>

<p>Write <code>file_get_contents(website)</code> to a variable. Use <code>strstr</code> to determine where the string first occurs. Use <code>strpos</code> to determine the exact position, write the position to another variable. Then I use <code>substr</code> to pull the exact string from it, writing THAT to another variable, and opening using <code>header()</code> to open the variable containing the link?</p>

<p>Sorry if that didn't make much sense. But I think that sounds right. The links I'm stripping are all the same length, so that will simplify things a lot. Thanks!</p>

<p>(by the way, I copied/pasted this from another forum I posted on. Too lazy to rewrite it)</p>
