/ Published in: PHP
Returns an array of folder names contained within the passed path.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function getDirectory($path){ // Directories to ignore when listing output $i = 0; $dir_arr[] = $dir; } } } return $dir_arr; }