Skip to content

Reading Directories

Directories can be read using functions like scandir().

$files = scandir(".");
print_r($files);