note 85715 deleted from function.opendir by danbrown
| From: | danbrown@php.net | Date: | Sat, 22 Aug 2009 01:25:58 +0000 |
| Subject: | note 85715 deleted from function.opendir by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-159777@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
your code will not works farther then 2 subfolders
$files += rec_listFiles($path);
change this will be better
$files=array_merge($files,rec_listFiles($path));