MAMEWorld >> Programming
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

PiModerator
Allergic to life
Reged: 09/20/03
Posts: 6449
Loc: Room 101
Send PM
Re: update....
11/09/06 01:28 AM


> Finally got back to this one, seem to have the hang ups solved. You appear to have
> hit it on the head Pi, it was the loops. The foreach loop would run flawlessly on
> firefox, but IE7 had a shitfit when running foreach on large dirs over +5000 files..
> Changing that particular loop to a plain vannila for loop ending at the array size
> works in all browsers tried. Strange that IE7 would freak over one valid line of php
> like that depending on what was thrown at it.

I am glad that you were able to fix it, but how can it be a browser problem when PHP is a server-side script language? In other words, IE7 doesn't run a single PHP line. It only outputs the html or text that the PHP spits out. So, maybe the way the output is being sent to the browser (with frequent pauses, irregular block sizes, etc.) makes IE7 freak out. Maybe IE7 has a streaming or buffering problem. And that would be a really BAD problem, that is a basic area to have a bug there...

I'm also glad that I was able to help, I was running out of possibilities. Fixing a bug is easy, finding why a supposedly correct code has a bug, and where exactly is the tricky part. When I started spending more time debugging than writing code, I started SANE coding habits to avoid those stupid and unfindable bugs.


Wound up, can't sleep, can't do anything right, little honey / Oh, since I set my eyes on you. / I tell you the truth.
I can't get it right / Get it right / Since I met you...







Entire thread
Subject Posted by Posted on
* PHP question, FTP and dir listings of larger sizes. italieAdministrator 09/13/06 04:33 AM
. * Re: PHP question, FTP and dir listings of larger sizes. PiModerator  09/14/06 04:50 PM
. * Re: PHP question, FTP and dir listings of larger sizes. twistyAdministrator  09/14/06 11:01 PM
. * Re: PHP question, FTP and dir listings of larger sizes. italieAdministrator  09/15/06 05:00 AM
. * Re: PHP question, FTP and dir listings of larger sizes. PiModerator  09/15/06 04:15 PM
. * Re: PHP question, FTP and dir listings of larger sizes. italieAdministrator  09/15/06 05:26 PM
. * Almost there.... italieAdministrator  09/17/06 11:21 PM
. * Re: Almost there.... PiModerator  09/18/06 02:31 AM
. * Re: Almost there.... italieAdministrator  09/18/06 02:41 AM
. * Re: Almost there.... twistyAdministrator  09/18/06 01:35 AM
. * Re: Almost there.... PiModerator  09/18/06 01:13 AM
. * Dead again.... italieAdministrator  09/18/06 02:49 AM
. * Re: Dead again.... PiModerator  09/18/06 06:27 PM
. * update.... italieAdministrator  11/05/06 07:02 PM
. * Re: update.... PiModerator  11/09/06 01:28 AM
. * Re: update.... twistyAdministrator  11/05/06 07:08 PM
. * Re: update.... italieAdministrator  11/05/06 07:20 PM
. * Re: PHP question, FTP and dir listings of larger sizes. twistyAdministrator  09/15/06 06:15 AM
. * Re: PHP question, FTP and dir listings of larger sizes. twistyAdministrator  09/13/06 06:16 AM
. * Re: PHP question, FTP and dir listings of larger sizes. italieAdministrator  09/13/06 06:52 AM
. * Re: PHP question, FTP and dir listings of larger sizes. twistyAdministrator  09/13/06 07:06 AM
. * Re: PHP question, FTP and dir listings of larger sizes. italieAdministrator  09/13/06 08:41 AM
. * Re: PHP question, FTP and dir listings of larger sizes. kgutteridge  01/17/07 03:39 AM

Extra information Permissions
Moderator:  Pi 
0 registered and 40 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 4812