Re: Question: Processing files in directory and parsing...
| From: | zerosumzero@yahoo.com | Date: | Sun, 08 Jul 2001 01:23:03 +0000 |
| Subject: | Re: Question: Processing files in directory and parsing... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-56704@lists.php.net to get a copy of this message | ||
ahh here is what you need:
$d = dir("/etc");
while($entry=$d->read()) {
echo $entry."<br>\n";
//put what you want to do to each thing in the dir here...
}
$d->close();