php variables search in another file
<p>Here is the code im working with as of now</p>

<pre><code> &lt;?php

 $url = 'http://www.PULLDATADOMAIN.Com/Here'; 
 $Stuff = 'Wow im not a complete idiot';
 $After = 'This is not what im doing';

 $contents = file_get_contents($url);
 echo $contents; 


?&gt;
</code></pre>

<p>Okay as of right now this is quite raw. All it is doing is pulling the html source code from the $url and displaying it on the page.</p>

<p>But what I am looking to have it do is pull that html and then search for where it finds the variable $After</p>

<p>And then output / echo the first half of the $contents then output <code>$mystuff</code> then out put the second half of <code>$contents</code>.</p>
