note 59908 deleted from function.fflush by nlopess
| From: | nlopess@php.net | Date: | Mon, 19 Dec 2005 22:38:00 +0000 |
| Subject: | note 59908 deleted from function.fflush by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-100437@lists.php.net to get a copy of this message | ||
Note Submitter: net_navard at yahoo dot com
Reason: useless
----
Hello firends
When you write to a file or socket or other resource,the data can be buffered which means that it is
not sent immediately.
Buffering can improve performance.fflush() flushes the buffer, forcing it to send or write any
buffered data.
For example,If I open a file with fopen() and then use fwrite() to write to that file, what I write
may not appear immediately in the file. To force it to appear, I can use fflush()
With Regards
Hossein