Posts by Kal Carvalho • 26 points
1 post
-
1
votes1
answer200
viewsA: Check empty folder in PHP
Hello all right? The combination of functions count and glob PHP can help you in this task. For this you should perform the following check: <?php $empty = ((count(glob("$dir/*")) === 0) ? true :…
phpanswered Kal Carvalho 26