note 30539 added to function.rmdir
| From: | bob at mysite dot php dot net | Date: | Fri, 21 Mar 2003 08:45:30 +0000 |
| Subject: | note 30539 added to function.rmdir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-45602@lists.php.net to get a copy of this message | ||
guys PLEASE NONE of the codes on this page actually work
Using Linux, many of you have
delete($file."/".$filename);
or
removedir($file);
PLEASE check your scripts before putting them up
delete() = unlink()
removedir() = rmdir()
and as for you scripts removing NON-Empty directories .. I've not found ONE on this page that
works.
--
http://www.php.net/manual/en/function.rmdir.php
http://master.php.net/manage/user-notes.php?action=edit+30539
http://master.php.net/manage/user-notes.php?action=delete+30539
http://master.php.net/manage/user-notes.php?action=reject+30539