scandir.php : scandir « File Directory « PHP






scandir.php

 
<?php
   print_r(scandir("/usr/local/apache2/htdocs"));
?>
  
  








Related examples in the same category

1.Listing All Files in the Current Directory
2.The scandir( ) function takes a minimum of one parameter with an optional second.