I have a file storage site, and with a while it moves inactive files to a folder: www.site.com/files/_deleted/
, when it moves the files it creates a subfolder for each of them ... Is there a way to execute a < in> PHP to delete all the contents of this folder, but not delete it itself?
Erase by FTP takes a lot .... By PHP I could even create a cron to run in a certain time.
Can anyone help me?