142.txt

    • $dirname = '.';
    • $dir = opendir($dirname);
  1. while($file = readdir($dir)) {
    • if($file != '.' && $file != '..' && !is_dir($dirname.$file))
    • {
    • echo ''.$file.'
      ';
    • }
    • }
  2. closedir($dir);
    ?>
Author
Anonymous
ID
262669
Card Set
142.txt
Description
test 142
Updated