note 24387 rejected from function.readdir by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Wed, 14 Aug 2002 21:52:46 +0000 |
| Subject: | note 24387 rejected from function.readdir by jmcastagnetto | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-35044@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?