php - why won't my data show up in firefox
<p>I'm using the following code in an index.php page to display content from one page on another domain. However, it works fine in IE, but when I load the page in Firefox, its missing php data.</p>

<p>Am I doing something wrong or does firefox not allow this? Any help appreciated.</p>

<pre><code>$domain = $_SERVER['HTTP_HOST'];
$crawl = "http://www.mysite.co.uk/page.php?domain=$domain";
$fd = fopen($crawl, "r");
while($buf = fgets($fd,1024))
{
echo $buf;
}
fclose($fd);
</code></pre>

<p>PLEASE NOTE: if I load the target url directly it works just fine</p>
