Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

PHP script runs slow when called from IE8

PHP script times out only when called from Internet Explorer 8



6:35 pm on Mar 14, 2013 (gmt 0)

5+ Year Member

Really weird problem... I have a page that returns a large amount of data. It is generated from a PHP mysql query that loops through about 6000 rows and returns 2 lines of data for each. No problems in firefox, chrome, safari. Doing a microtime() in those browsers I can tell it takes just over 2 seconds to complete the loop.

But accessing the same page from IE8 microtime() reports it takes 196 seconds to complete the loop. So the page usually times out in PHP. So my question is why is it only a problem in IE? The only way I can think of is somehow the outputing/buffering to IE is really slow? Any ideas on remedies, things to try?


2:11 pm on Mar 15, 2013 (gmt 0)

5+ Year Member

Any ideas?


2:35 pm on Mar 15, 2013 (gmt 0)

5+ Year Member

if you could give us some code it could be helpful


11:50 am on Mar 19, 2013 (gmt 0)

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

Are you running this locally on your Windows machine, against a locally installed HTTP server? I mean, is this where you are noticing the difference?

Featured Threads

Hot Threads This Week

Hot Threads This Month