ID: 16432 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -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] [EMAIL PROTECTED] 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
