italie |
MAME owes italie many thank yous, hah
|
|
|
Reged: 09/20/03
|
Posts: 15246
|
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?
|
|