note 26835 added to function.file-get-contents

From: Date: Thu, 14 Nov 2002 15:30:43 +0000
Subject: note 26835 added to function.file-get-contents
Groups: php.notes 
Request: Send a blank email to php-notes+get-39487@lists.php.net to get a copy of this message
Another thing to note if you use the first roll-your-own version of file_get_contents() above is that filesize() is cached. If you rewrite a file that may later be read using this function you should then call clearstatcache() to ensure the right value is returned by filesize(). -- http://www.php.net/manual/en/function.file-get-contents.php http://master.php.net/manage/user-notes.php?action=edit+26835 http://master.php.net/manage/user-notes.php?action=delete+26835 http://master.php.net/manage/user-notes.php?action=reject+26835

« previous php.notes (#39487) next »