Jump to content

All folder contents to array


Recommended Posts

How can I load all filenames within a given folder into an array? I am looking for something like PHP's glob() function, but don't find anything remotely similar. It does not have to be recursive, but i don't even find examples of looping through a directory.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...