Bug #16140 Updated: In ISAPI modules can't create a large string more than 444K

From: Date: Tue, 19 Mar 2002 03:08:38 +0000
Subject: Bug #16140 Updated: In ISAPI modules can't create a large string more than 444K
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-2818@lists.php.net to get a copy of this message
ID: 16140 Updated by: shockeye@etang.com Reported By: shockeye@etang.com Status: Bogus Bug Type: Strings related Operating System: windows 2000 PHP Version: 4.1.2 New Comment: Not a help!This is a bug in ISAPI I think.Because I can not create a string > 455453 byte.But this codes run at CGI module good. Previous Comments: ------------------------------------------------------------------------ [2002-03-18 09:14:39] sniper@php.net The bug system is not the appropriate forum for asking support questions. For a list of a range of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php ------------------------------------------------------------------------ [2002-03-18 06:28:46] shockeye@etang.com 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 this bug report at http://bugs.php.net/?id=16140&edit=1

« previous php.bugs (#2818) next »