Php - How to create a directory using php code, Create folder php code
How to create a directory using php code
php code to create a directory
Use mkdir() to create a directory in a php. Specify the path where you would like to create a directory or a folder.
Syntax to create a directory:
mkdir(path);
Example:
$path = '/home/w3calc/'; @mkdir($path); //will create a directory in the specified path.
The folder w3calc must have 777 permission to create a directory or a folder inside it.
The topic on Php - How to create a directory using php code is posted by - Venki
Hope you have enjoyed, Php - How to create a directory using php codeThanks for your time