Bug #16432 Updated: fwrite fails on long text string

From: Date: Thu, 04 Apr 2002 18:44:04 +0000
Subject: Bug #16432 Updated: fwrite fails on long text string
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-4060@lists.php.net to get a copy of this message
ID: 16432 Updated by: sander@php.net Reported By: nielsene@mit.edu -Status: Open +Status: Feedback Bug Type: Filesystem function related Operating System: Linux 2.2.18 PHP Version: 4.1.2 New Comment: Can't reproduce. Just wrote about 300 megs in one call :) I'm runnig Linux 2.4.17. Can you try 4.2.0RC2 from www.php.net/~derick ? Previous Comments: ------------------------------------------------------------------------ [2002-04-04 13:28:06] nielsene@mit.edu fwrite appears to fail when the input string is too long (on the order of 160k). I've been creating dynamic stats pages from a database and writing them to a file. Recently the text to write has exceed some threshold that caused fwrite to not write to the fill and to not return an error code. Writing the files in chunks fixes the problem. However, there is nothing in the documentation about max length of strings to write. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16432&edit=1

« previous php.bugs (#4060) next »