note 22055 added to function.rmdir
| From: | php-general at lists dot php dot net | Date: | Wed, 05 Jun 2002 02:14:51 +0000 |
| Subject: | note 22055 added to function.rmdir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-31466@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.rmdir.php
http://master.php.net/manage/user-notes.php?action=edit+22055
http://master.php.net/manage/user-notes.php?action=delete+22055
http://master.php.net/manage/user-notes.php?action=reject+22055