Aaaargh!
Ok I might have been a bit too fast on stating that the above crashes. Well - It does, but only sporadically.
Fetching from the original URL always crashes - I will give it out here eventhough it is a bit sensitive information - but for the greater good:
Code:
$url = "http://www.zabersoft.com/trendy/webpack_fetch.php?from=24-04-2008&to=25-04-2008";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
$html = curl_exec($ch);
curl_close ($ch);
Anyway - This ALWAYS crashes - Whilst $url = "http://www.zabersoft.com/trendy/test.html";
Sometimes crashes. As you can see it is the same output.
If you can find the difference and/or reproduce this and track this down you will be my official hero!
PS: please be patient with webpack_fetch.php - The remote server is a bit slow.
Thanks
Zaber