July 5, 2020
While performing regular audit at my company, I noticed that one of the databases is using more disc space than expected. Once I drilled down to the table levels, it turned out that only a single...Read
October 20, 2019
Last time, we discussed how to remove a non empty directory in php using Standard PHP Library (SPL). This time we will learn how to copy a directory recursively in php using SPL. By recursively, I...Read
September 15, 2019
There are lot of useful inbuilt functions that comes with PHP interpreter. One such function is
rmdir which allows us to delete a folder/directory through php code. The documentation for...