Creating Directories with mkdir() : mkdir « File Directory « PHP






Creating Directories with mkdir()

 
<?
mkdir( "testdir", 0777 ); // global read/write/execute permissions
mkdir( "testdir", 0755 ); // world and group: read/execute only
             // owner: read/write/execute
?>
  
  








Related examples in the same category

1.Making a directory