PHP: Working with Directories - WebCheatSheet Tutorials
This example produces the same results as the earlier code that uses the directory functions, but this code is shorter and safer because you cannot forget the !== = comparison. Back to top Deleting the Directory and Its Contents PHP has the rmdir( ) funct...