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

italieAdministrator
MAME owes italie many thank yous, hah
Reged: 09/20/03
Posts: 15245
Loc: BoomTown
Send PM
update....
11/05/06 07:02 PM


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.


> $file_list = ftp_nlist($conn_id, " ");
> foreach ($file_list as $file)
> {
> echo "
> $file";
> }
>
> If instead of the foreach loop, you simply output the number of elements in the array
> $file_list, does the script finish properly? In other words, are you sure that the
> script stalls at ftp_nlist or at the foreach loop?







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 75 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 4789