note 22054 deleted from function.closedir by didou
| From: | didou@php.net | Date: | Thu, 29 May 2003 22:25:43 +0000 |
| Subject: | note 22054 deleted from function.closedir by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-49356@lists.php.net to get a copy of this message | ||
Note Submitter:
----
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.