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 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

