PHP: quick way to check folder empty?

2 replies
Was a question but....


Thanks.
#check #empty #folder #php #quick
  • Profile picture of the author jaredrasc
    you can do it with
    isEmptyDir($dir){ function easily
    {{ DiscussionBoard.errors[5611562].message }}
  • Profile picture of the author JoeyJoe
    Ah this will help with my project, atm i search for all the files in the folder. checking it actually has something will help
    {{ DiscussionBoard.errors[5616654].message }}

Trending Topics