Use this function to retrieve a directory listing
<? function get_files ($dir) { return array_values(array_diff(glob($dir . "/*"), glob($dir . "/*", GLOB_ONLYDIR))); } ?>
string get_files -> array
Rating: 0 / 5 (0 votes) 4803 views
Want to share your source code? Create your account and join our community!
Comments
Add your comment