Switch to full style
:read: Start PHP with us. Includes topics to help you in php
Post a reply

Creating a Directory in php

Sun Oct 26, 2008 8:38 pm

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




Post a reply
  Related Posts  to : Creating a Directory in php
 Delete directory in php     -  
 phone directory     -  
 php Directory lister     -  
 Listing the Contents of a Directory     -  
 invalid drive or directory     -  
 Print all files in a directory     -  
 Get Directory size in java     -  
 Read the content from directory     -  
 Upload File to a new directory     -  
 problems to connect to active directory     -  

Topic Tags

PHP Files and I/O