note 95703 added to function.rmdir
| From: | steffen at wirsching-idstein dot de | Date: | Sun, 17 Jan 2010 01:40:05 +0000 |
| Subject: | note 95703 added to function.rmdir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-165037@lists.php.net to get a copy of this message | ||
Say, you're working on Windows and continue to get a permission's error without a reason.
Then it may be that a different Windows program is working on the folder (see earlier notes also).
In the case that you can't find that program, the line
<?php closedir(opendir($dirname)); ?>
may solve the problem!
Make sure to write this before rmdir($dirname);.
----
Server IP: 69.147.83.197
Probable Submitter: 71.13.29.231
----
Manual Page -- http://www.php.net/manual/en/function.rmdir.php
Edit -- https://master.php.net/note/edit/95703
Del: integrated -- https://master.php.net/note/delete/95703/integrated
Del: useless -- https://master.php.net/note/delete/95703/useless
Del: bad code -- https://master.php.net/note/delete/95703/bad+code
Del: spam -- https://master.php.net/note/delete/95703/spam
Del: non-english -- https://master.php.net/note/delete/95703/non-english
Del: in docs -- https://master.php.net/note/delete/95703/in+docs
Del: other reasons-- https://master.php.net/note/delete/95703
Reject -- https://master.php.net/note/reject/95703
Search -- https://master.php.net/manage/user-notes.php