Read page source using PHP with primes "
<p>I am trying to read the source code of a page. I just want to read some text that is within a certain division element with the id "wrapper_left".</p>

<p>My problem is that if a prime " is used in the first argument of the explode function, it does not work. I tried escaping the string, although I figured this wouldn't do anything.</p>

<pre><code>$source_code = htmlspecialchars(file_get_contents('http://mydomain.com'));

$source_code = explode('&lt;div id="wrapper_left"&gt;', $source_code);

echo $source_code[1];
</code></pre>

<p>Thanks tons in advance. </p>
