note 23648 added to function.rmdir

From: Date: Wed, 24 Jul 2002 09:58:12 +0000
Subject: note 23648 added to function.rmdir
Groups: php.notes 
Request: Send a blank email to php-notes+get-33479@lists.php.net to get a copy of this message
HI! some of the scripts for deleting non-empty dir's use file_exists() before deleting or changing into the dir. that's a good idea so far, but i encountered the problem that the result of file_exists() is cached (which can be a problem if a subdirectory is named like the one above) so i believe it's no mistake to call clearstatchache() before file_exits() Nice day to everyone! btw -- http://www.php.net/manual/en/function.rmdir.php http://master.php.net/manage/user-notes.php?action=edit+23648 http://master.php.net/manage/user-notes.php?action=delete+23648 http://master.php.net/manage/user-notes.php?action=reject+23648

« previous php.notes (#33479) next »