时间:2021-07-01 10:21:17 帮助过:2人阅读
http://www.bkjia.com/PHPjc/736810.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/736810.htmlTechArticle 代码如下:function mk_dir($dir, $mod = 0777) { if(!is_dir($dir) || mkdir($dir, $mod)) { if(!mk_dir(dirname($dir, $mod))) { return false; } } return mkdir($dir, $mo...