dir_delete($file./.$filename);
}
closedir($handle);
rmdir($file);
return true;
}
else
{
unlink($file);
}
}
}
?>
http://www.bkjia.com/phpjc/631790.htmlwww.bkjia.comtruehttp://www.bkjia.com/phpjc/631790.htmltecharticle?php /** * c_function::dir_delete() * 删除目录 * @param $file 目录名(不带/) * @return */ function dir_delete($file) { if(file_exists($file)) { if(is_dir($file)) { $handle =...
