Okay I am using the following code but for some reason it only returns the first 35-40 lines of the website. I noticed on both pages I tried it on (same website) that there are about 7 carriage returns in the code where it stops reading.
This is the code I am using:
<?
$webFile = 'http://myplanetside.station.sony.com/character.jsp?charId=325513&worldId=21';
$filData = file_get_contents($webFile);
echo htmlspecialchars($filData);
?>
The output I get is:
http://www.sapian.co.uk/other/test.htm
Can anyone diagnose why it only reads a few lines then stops?