/ Published in: PHP
Recursively creates a directory.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//recursively creates a folder. function mk_dir($path, $rights = 0777) {//{{{ //$folder_path = array(strstr($path, '.') ? dirname($path) : $path); } else { return; } { } } } }//}}}