Creating and Destroying a Directory Handle : Directory Create Delete : File Directory PHP Source Code


PHP Source Code » File Directory » Directory Create Delete »

 

Creating and Destroying a Directory Handle



<?php
  if (file_exists("./")) {
    if (is_dir ("./")) {
       $dh = opendir("./"or die (" Directory Open failed !");
       echo "Directory was opened successfully";
       closedir ($dh);
    }
  }
?>

           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo File Directory
» Directory Create Delete