note 22054 added to function.closedir
| From: | php-general at lists dot php dot net | Date: | Wed, 05 Jun 2002 02:13:50 +0000 |
| Subject: | note 22054 added to function.closedir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-31465@lists.php.net to get a copy of this message | ||
In php4.0.6 on Windows2000, if you open a directory with $d = dir($path); and you later want to
delete the directory you must first
closedir($d->handle); and then
$d->close(); and then do
rmdir($path).
Otherwise you get an error.
--
http://www.php.net/manual/en/function.closedir.php
http://master.php.net/manage/user-notes.php?action=edit+22054
http://master.php.net/manage/user-notes.php?action=delete+22054
http://master.php.net/manage/user-notes.php?action=reject+22054