note 24387 added to function.readdir
| From: | php at e-joey dot com | Date: | Wed, 14 Aug 2002 21:39:55 +0000 |
| Subject: | note 24387 added to function.readdir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-35043@lists.php.net to get a copy of this message | ||
corbeau@iname.com wrote:
$dir="/directory/";
$a =
find $dir -depth -type f -print;
$files = explode ("\n", $a);
# Puts all the files into an array.
Where can I find documentation on
find $dir -depth -type f -print;
... I would like to know how did he find this out. It has been very useful but I don't
understand how did he come about this code?
--
http://www.php.net/manual/en/function.readdir.php
http://master.php.net/manage/user-notes.php?action=edit+24387
http://master.php.net/manage/user-notes.php?action=delete+24387
http://master.php.net/manage/user-notes.php?action=reject+24387