note 40075 deleted from ref.dir by sniper

From: Date: Fri, 16 Dec 2005 00:00:45 +0000
Subject: note 40075 deleted from ref.dir by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-100261@lists.php.net to get a copy of this message
Note Submitter: daevid at daevid dot com ---- Just to add my own tip on the above recursive_dirlist()... I would suggest to make the last few lines: sort(&$getDirList_alldirs); sort(&$getDirList_allfiles); $retval['dirs'] = &$getDirList_alldirs; $retval['files'] = &$getDirList_allfiles; otherwise your dirlisting may not be exactly the way you want, especially if you are operating on files in these dirs, and order may be a factor (as it is in my project ;-) )

« previous php.notes (#100261) next »