lundi 29 juin 2015

PHP delete files with filename lower than pattern

I need to delete files with name of UNIX timestamp, those with lower number then I specified. I heard something about glob() but I'm not sure how to use it in this case. Best would be putting filenames in array to use loop to remove them

Thanks for your help!

Aucun commentaire:

Enregistrer un commentaire