PHP: How to delete all subfolders (only 1MB or smaller in size) and wipe out all its files?

后端 未结 0 675
天命终不由人
天命终不由人 2021-01-25 11:24

I need to put condition only delete all folders that have 1mb and smaller in size.

$dir ="thousandfolders";

   function del($dir) { 
      foreach(glob         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题