Hi guys,
First post, so hope I'm in the right place - I'm not sure if this would be better directed at an IIS forum!

I'm running PHP 5 on a Windows 2003 server with IIS 6.

When requesting a PHP page on the server from my local machine, the page renders quickly but the browser will hang on 'transferring data from..' etc for around 5 seconds before completing. This is apparent when using any Javascript onload events, as they won't be executed until the page is completed.

I've even tried using some page load time calculations in PHP, which show it executing the page in 0.0026 seconds, or something along those lines, so am fairly sure it's IIS rather than PHP, although it doesn't happen with normal HTML pages.

I've tried setting output_buffering to on, as well as connecting from various different machines, but again the same problem!

Has anyone had a similar issue?

Thanks,
Ben

    Sorry, I should have added that this script uses cURL to read a remote XML file (I've also tried file_get_contents with the same effect)

    This does happen randomly with standard PHP pages, but happens every time when the pages are requesting the remote file, although the page renders quickly including the parsed xml data.

      Write a Reply...