Re: I lost the message...
| From: | Todd Cary | Date: | Thu, 24 Jan 2002 05:26:01 +0000 |
| Subject: | Re: I lost the message... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-81826@lists.php.net to get a copy of this message | ||
This seems to work. Is there a better way?
chdir("/home/docvault");
$dir = dir(".");
$dir->rewind();
while ($file=$dir->read()) {
if (($file != ".") & ($file != "..")) {
$Filelist[] = $file;
}
}
$dir->close();
Todd
--
Todd Cary
Ariste Software
todd@aristesoftware.com