Answers for "scan directory and get an array"

PHP
-1

php list directories

$dir = '.';
$directories = glob($dir . '/*', GLOB_ONLYDIR);
Posted by: Guest on July-22-2020

Code answers related to "scan directory and get an array"

Browse Popular Code Answers by Language