Hi Gianluigi, I used the example, but I don't get how to put that type of path in the extension. I use a Mac and in Mac you don't have that kind of paths. I solve the problem creating the folder like this, but I will really like to do ti with the extension because I need to create 2 folders:
<?php //Name of our directory $dir_name = $_SESSION['subcatID'];
//Check if the directory with the name already exists if (!is_dir("../media/galeries/".$dir_name)) {
//Create our directory if it does not exist mkdir("../media/galeries/".$dir_name); } ?>
|
|
|