note 9651 deleted from function.rmdir by jimw

From: Date: Wed, 02 Jan 2002 01:27:32 +0000
Subject: note 9651 deleted from function.rmdir by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-24087@lists.php.net to get a copy of this message
The above recursive directory deletion procedure wouldn't work for me on Windows 2000 unless I added: closedir($all); unset( $all ); before the 'rmdir($location);' line. The files would get deleted but I'd get a permissions error when trying to remove the directory itself.

« previous php.notes (#24087) next »