note 95398 deleted from function.fclose by danbrown

From: Date: Thu, 31 Dec 2009 16:37:29 +0000
Subject: note 95398 deleted from function.fclose by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-164496@lists.php.net to get a copy of this message
Note Submitter: pjm at pehjota dot com ---- In response to what sineld at sineld dot com wrote, you don't have to close the file to be able to read what you've written. You can call fflush() to flush the output buffer to the disk, fseek() to where you need to be, and fread() anything you wrote. Just make sure the mode you use with fopen() allows for anything you need to do with the file stream.

« previous php.notes (#164496) next »