9951 explained code solutions for 126 technologies


phpCreate directory recursively


mkdir('/path/to/dir', 0777, true);ctrl + c
mkdir

creates directory

/path/to/dir

path to the new dir

0777

mode to create new directory with

true

this will ask mkdir to create all subdirectories in the path if they don't exist