Reading Directories
Directories can be read using functions like scandir().
Example
Section titled “Example”$files = scandir(".");
print_r($files);Directories can be read using functions like scandir().
$files = scandir(".");
print_r($files);