日期:2014-05-17 浏览次数:20569 次
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;
}