note 47360 deleted from function.fflush by betz
| From: | betz@php.net | Date: | Sat, 29 Jul 2006 10:30:40 +0000 |
| Subject: | note 47360 deleted from function.fflush by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-115319@lists.php.net to get a copy of this message | ||
Note Submitter: draco at lomag dot net
----
If you are write to a file, fflush() it and then hope to re-read in the data, you probably need to
use http://www.php.net/manual/en/function.clearstatcache.php
Because of PHP's caching, it caches the original file when the script is first executed, so if
you reread the file you wrote to, it will look like it was when it first executed. It wont contain
any of the information you wrote to it.