I found myself with a huge challenge and I wonder how can I create this, so I've decided to ask for help. This is my problem:
I need a single PHP file that is capable to delete the entire folder and sub folders inside my domain name, that upon deletion, also the file disappears (gets deleted).
I am not sure how to do this, I can show the files under a domain name with a single PHP script, however, it requires me to delete the files by selecting them and then press a delete button to complete my action, I am looking for a PHP script that not also deletes all the files and folders, but can delete itself after completing the task.
Any help is much appreciated, thanks in advance!