delete files with php

December 5, 2011 PHP no responses # ,

How to remove a directory and it’s content using PHP

Was recently working on a project where needed to delete a folder and its sub-folders and files. Here is a snippet that can help you to remove a non-empty directory from the server. It’s a recursive function that deletes the directory with its files, folders and sub-folders.
Continue reading

Stay In Touch