Bug #16432: fwrite fails on long text string

From: Date: Thu, 04 Apr 2002 18:28:07 +0000
Subject: Bug #16432: fwrite fails on long text string
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-4058@lists.php.net to get a copy of this message
From: nielsene@mit.edu Operating system: Linux 2.2.18 PHP version: 4.1.2 PHP Bug Type: Filesystem function related Bug description: fwrite fails on long text string 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 bug report at http://bugs.php.net/?id=16432&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16432&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16432&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16432&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16432&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16432&r=support Expected behavior: http://bugs.php.net/fix.php?id=16432&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16432&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16432&r=submittedtwice

« previous php.bugs (#4058) next »