Read the content from a directory : Directory : File Directory PHP Source Code


PHP Source Code » File Directory » Directory »

 

Read the content from a directory



<?php
    $dir = opendir("./");
                
    while ($read_file = readdir($dir)) {
      echo "$read_file""n";
    }
    closedir($dir);
?>

           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo File Directory
» Directory