/ Published in: PHP
This function accept one parameter - string, dir path. It will return a array, containing all files found in this and all its subfolders.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function listing($dir) { $result[] = $filename; } else { } } return $result; }