logo

Highly experienced and skilled on Software Architecture (PHP, MySQL, JavaScript, jQuery, Ajax, XML, API Services), Server and Software Security, Project Management combined with Online Marketing & Internet Advertising background. I am a "Problem Solver" who only focuses on "Results". Leaded/worked on 500+ Web/Software/Marketing Projects about Web, E-Commerce, ERP, CRM, CMS, B2B, B2C, XML, API, Online Flight & Hotel Reservation Systems almost from every industry until today.

Contact Info

info@halukyamaner.com

Dubai / United Arab Emirates

PHP "Rmdir" Function

"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";
}


It function throws error, there are two reasons usually:

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

Share this post:

Contact Form

Share about your ideas or projects, just fill form below and I'll get back to you asap.