note 18403 added to function.fwrite
| From: | jdraughnNOSPAM at nuvoxNOSPAM dot com | Date: | Mon, 21 Jan 2002 20:12:36 +0000 |
| Subject: | note 18403 added to function.fwrite | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-25656@lists.php.net to get a copy of this message | ||
It appears that fputs/fwrite buffers output even when explictly told to flush() when you utilize a
sleep() or usleep() function within a loop writing to a file.
This was tested on PHP 4.0.4pl1 and PHP 4.0.6
--
http://www.php.net/manual/en/function.fwrite.php
http://master.php.net/manage/user-notes.php?action=edit+18403
http://master.php.net/manage/user-notes.php?action=delete+18403
http://master.php.net/manage/user-notes.php?action=reject+18403