From: [EMAIL PROTECTED] Operating system: windows 2000 PHP version: 4.1.2 PHP Bug Type: Strings related Bug description: In ISAPI modules can't create a large string more than 444K
W2K professional+IIS 5+PHP4.1.2(ISAPI) Example,there is a data file named test.hdb about 1.1M,I want read it to a string. function readFiles ($path) { $fopen = fopen ($path,'r'); $fread = fread ($fopen,$this->file_size); fclose ($fopen); return $fread; } $fread = readFiles('test.hdb'); $fp = fopen('test2.hdb'); fwrite($fp, $fread); fclose($fp); Result test2.hdb only about 444K,I think something lost. It runs good in CGI modules,but fail in ISAPI. -- Edit bug report at http://bugs.php.net/?id=16140&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16140&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16140&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16140&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16140&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16140&r=support Expected behavior: http://bugs.php.net/fix.php?id=16140&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16140&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16140&r=submittedtwice