[ Index ]

PHP Cross Reference of Project Glazy import

title

Body

[close]

/ -> readdir.php (source)

   1  <?php 
   2  $fileindir = array();
   3  $files = scandir('./fichiers/');
   4  foreach ($files as $fname) {
   5      if (!preg_match('/^\./',$fname)) {
   6        array_push($fileindir,$fname);
   7      }
   8  }
   9  
  10  echo json_encode($fileindir);
  11  ?>


Generated: Thu Sep 14 11:31:49 2023 Cross-referenced by PHPXref 0.7.1