note 87913 added to function.rmdir
| From: | manmca dot 2280 at gmail dot com | Date: | Tue, 30 Dec 2008 11:10:56 +0000 |
| Subject: | note 87913 added to function.rmdir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-148670@lists.php.net to get a copy of this message | ||
function rmdir() only works when directory having no files. If directory contain files then first
need to remove all the files from that directory by using unlink() function.
Thanks,
Manish Patel
----
Server IP: 59.162.86.33
Probable Submitter: 121.241.8.6
----
Manual Page -- http://www.php.net/manual/en/function.rmdir.php
Edit -- https://master.php.net/note/edit/87913
Del: integrated -- https://master.php.net/note/delete/87913/integrated
Del: useless -- https://master.php.net/note/delete/87913/useless
Del: bad code -- https://master.php.net/note/delete/87913/bad+code
Del: spam -- https://master.php.net/note/delete/87913/spam
Del: non-english -- https://master.php.net/note/delete/87913/non-english
Del: in docs -- https://master.php.net/note/delete/87913/in+docs
Del: other reasons-- https://master.php.net/note/delete/87913
Reject -- https://master.php.net/note/reject/87913
Search -- https://master.php.net/manage/user-notes.php