Answers for "how to create folderr and file in php"

PHP
6

create folder php

// Create folder if not exist
		$folderName = 'images/gallery';
		$config['upload_path'] = $folderName;
		if(!is_dir($folderName))
		{
			mkdir($folderName, 0777);
		}
Posted by: Guest on August-26-2020
0

using php, how to create a folder in another folder

mkdir('images/user/15', 0777, true);
Posted by: Guest on April-25-2021

Code answers related to "how to create folderr and file in php"

Browse Popular Code Answers by Language