PHP "Rmdir" Function
580
"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.
If you want to find the secrets of the universe, think in terms of energy, frequency, and vibration.
Haluk YAMANER
Founder @ Future Software UAE
Founder @ Future Linux
Click here for more about me »