</pre>
== Creating Directories in PHP ==
A new directory can be created in PHP using the ''mkdir'' function. This function takes a path to the directory to be created. To create a directory in the same directory as your PHP script simply provide the directory name. To create directory in a different directory specify the full path when calling ''mkdir''.
== Deleting Directories in PHP ==