note 9041 added to dir
| From: | gateschris at yahoo dot com | Date: | Thu, 12 Oct 2000 23:08:50 +0000 |
| Subject: | note 9041 added to dir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6422@lists.php.net to get a copy of this message | ||
from helmut and chris:
this fixes the 0 file problem mentioned:
$entry = $d->read();
if ($entry !== false) {
do {
echo $entry."<br>\n";
$entry = $d->read();
} while ($entry !== false);
}
$d->close();
}
http://www.php.net/manual/class.dir.php