Create Directory in PHP using mkdir

Here is a simple example which creates a directory using mkdir — Makes directory.

mkdir – Example 1

mkdir("path/to/my/directory", 07777);

mkdir – Example 2

 $uploaddir = $_POST["destination"];
 echo "Directory Created";
Tags: ,

Related posts:

HTML5 page structure

HTML5 offers more powerful structure comparing to older versions of Html. There are many new …

Partner with Us

We are providing an exclusive partnership offer to individuals and companies who are interested in setting up their own web design & development company. For more information about how to partner with us, please contact us