note 9800 added to closedir

From: Date: Fri, 24 Nov 2000 15:35:24 +0000
Subject: note 9800 added to closedir
Groups: php.notes 
Request: Send a blank email to php-notes+get-8104@lists.php.net to get a copy of this message
About deleting a directory after doing a readdir/closedir on it... I'm not sure if this is the solution, but you could try to chdir("/"); before the rmdir to make absolutely sure you aren't standing in the directory (i.e trying to pull out the rug from under yourself). http://www.php.net/manual/function.closedir.php

« previous php.notes (#8104) next »