PHP "Rmdir" Function
501

"rmdir" is function for deleting folder in PHP.

Function doesn't take action if there is any files under mentioned folder.

Example Usage:

if (rmdir("FolderName"))
{
    print "Deleted";
}
else
{
    print "Failed";
}


If function throws error, there are two reasons usually:

* There are still files exist in folder.
* File permissions (chmod)

If you are looking for consultation, fill the Contact Form below.
My biggest mistake is probably weighing too much on someone's talent and not someone's personality. I think it matters whether someone has a good heart. Elon Musk
Haluk YAMANER - Personal
Contact Form
You must complete Security Verification to submit your form.