时间:2021-07-01 10:21:17 帮助过:21人阅读
bool mkdir ( string $pathname [, int $mode [, bool $recursive [, resource $context ]]] )
function mkdirs($path , $mode = 0755 ){
if(!is_dir($path)){
mkdirs(dirname($path),$mode);
mkdir($path,$mode);
}
return true;
}