PHP create nested directories for a given path
If a file is to be saved in at path /var/www/a/b/c/d/abc.zip where the directory c and d dont exist then the directories have to created. Here is a function that uses recursion to check for directories in a path and create them if they do not exist : /** Make a nested path , creating… Read More »