I’m making a directory with the script seen below. How would I go about creating two more directories immediately inside this directory?
<?php
$dir = $_POST['dirname'];
if( mkdir( "./store/".$dir."/" , 0777 ) )
echo "Directory of ".$dosjename." has been created successfully...";
} else {
echo "Failed to create directory...";
}
?>
If this
creates a new directory, then surely this
creates two new directories in it?