You don't have an account yet?
Become part of our PHP community and register now...
<?php $handle=opendir('.'); while ($file = readdir ($handle)) { if ($file != "." && $file != "..") { echo "$file\n"; } } closedir($handle); ?>
Comment