Get list of files in directory <?php function get_files ($dir) { return array_values(array_diff(glob($dir . "/*"), glob($dir . "/*", GLOB_ONLYDIR))); } ?> Usage string get_files -> array Email ThisBlogThis!Share to TwitterShare to Facebook
0 comments:
Post a Comment