ID: 16140 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Strings related Operating System: windows 2000 PHP Version: 4.1.2 New Comment:
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 Previous Comments: ------------------------------------------------------------------------ [2002-03-18 06:28:46] [EMAIL PROTECTED] 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
