readdir: Read entry from directory handle : Directory « File Directory « PHP
- PHP
- File Directory
- Directory
readdir: Read entry from directory handle
<?php
$dh = opendir('./');
while ($file = readdir($dh))
echo "$file <br>";
closedir($dh);
?>
Related examples in the same category