超越PHP PHP动态 | 经典文章 | CLASS | 相关下载 | 常见问题 | FORUM | WIKI | 在线手册
Site search:    
<rewindset_file_buffer>
Last updated: Fri, 22 Jun 2007

rmdir

(PHP 3, PHP 4 , PHP 5)

rmdir -- 删除目录

说明

bool rmdir ( string dirname)

尝试删除 dirname 所指定的目录。 该目录必须是空的,而且要有相应的权限。如果成功则返回 TRUE,失败则返回 FALSE

参见 mkdir()unlink()




add a note add a note User Contributed Notes
rmdir
aidan at php dot net
05-Sep-2004 03:48
If you want to delete a file, or an entire folder (including the contents), use the below function.

http://aidan.dotgeek.org/lib/?file=function.rmdirr.php

<rewindset_file_buffer>
 Last updated: Fri, 22 Jun 2007
view source | feedback | send page | sitemap | aboutus   
Copyright ® 2002-2003 PHPE.NET. All rights reserved
Last updated:2002-11-22