note 24472 deleted from ref.dir by sniper
| From: | sniper@php.net | Date: | Thu, 15 Dec 2005 23:59:40 +0000 |
| Subject: | note 24472 deleted from ref.dir by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-100248@lists.php.net to get a copy of this message | ||
Note Submitter: erere CHIOCCIOLINA iname PUNTO com
----
In fancao0515@0451.com's function list_dir($dirname):
if(is_dir($dirname.$file))
list_dir($dirname.$file.'\\');
should become:
if(is_dir($dirname.$file))
$result_array[]=list_dir($dirname.$file.'\\');
or recursion will be done, but no subdirs will be pushed into the $result_array.
Ernesto