|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-03-18 09:14 UTC] sniper@php.net
[2002-03-18 22:08 UTC] shockeye at etang dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 14:00:01 2025 UTC |
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.