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();


-- 
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]

Reply via email to