Deleting a Directory by Using rmdir() : Directory Create Delete : File Directory PHP Source Code


PHP Source Code » File Directory » Directory Create Delete »

 

Deleting a Directory by Using rmdir()



 <?php
  if (file_exists("./dummydir")) {
    if(is_dir("./dummydir")) {
       $result = rmdir("./dummydir");
       echo "Result = " . $result;
    }
  }
 ?>

           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo File Directory
» Directory Create Delete