Welcome to WebmasterWorld Guest from 54.147.134.218

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)

Junior Member

5+ Year Member

joined:Jan 18, 2008
posts: 99
votes: 0


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)

Junior Member

5+ Year Member

joined:Jan 18, 2008
posts: 99
votes: 0


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

Junior Member

5+ Year Member

joined:Nov 16, 2008
posts: 136
votes: 0


if you could give us some code it could be helpful
11:50 am on Mar 19, 2013 (gmt 0)

Administrator

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

joined:July 31, 2003
posts:12533
votes: 0


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?