Quote:
$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?
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...
|