note 26717 added to function.unlink
| From: | php-general at lists dot php dot net | Date: | Sun, 10 Nov 2002 16:12:25 +0000 |
| Subject: | note 26717 added to function.unlink | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-39257@lists.php.net to get a copy of this message | ||
In regards to the function posted by icecube at fr dot fm above, you need to call clearstatcache()
before any file_exists() call.
Read more here:
http://php.fastmirror.com/manual/en/function.clearstatcache.php
--
http://www.php.net/manual/en/function.unlink.php
http://master.php.net/manage/user-notes.php?action=edit+26717
http://master.php.net/manage/user-notes.php?action=delete+26717
http://master.php.net/manage/user-notes.php?action=reject+26717