note 59908 added to function.fflush

From: Date: Mon, 19 Dec 2005 22:01:43 +0000
Subject: note 59908 added to function.fflush
Groups: php.notes 
Request: Send a blank email to php-notes+get-100434@lists.php.net to get a copy of this message
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 ---- Manual Page -- http://www.php.net/manual/en/function.fflush.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+59908 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+59908&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+59908&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+59908&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+59908&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+59908&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+59908&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+59908&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+59908&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#100434) next »