Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php mkdir


<?php
// Desired directory structure
$structure = './depth1/depth2/depth3/';

// To create the nested structure, the $recursive parameter 
// to mkdir() must be specified.

if (!mkdir($structure, 0777, true)) {
    die('Failed to create directories...');
}

// ...
?>

Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php #mkdir
ADD COMMENT
Topic
Name
1+2 =