Mega Code Archive

 
Categories / Php / File Directory
 

The scandir( ) function takes a minimum of one parameter with an optional second

<?     $files = scandir(".", 1);     var_dump($files); ?>