ID: 9970 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Closed Bug Type: Filesystem function related Assigned To: Comments: file() function was changed to open file in binary mode in the CVS (2000/12/12). --Jani Previous Comments: --------------------------------------------------------------------------- [2001-03-24 11:05:45] [EMAIL PROTECTED] This is not a bug, if you open the file with fopen ("filename", "rb"); (b = binary) it should work fine. file() however wont work this way. --------------------------------------------------------------------------- [2001-03-24 10:49:54] [EMAIL PROTECTED] This happens only in ISAPI module. fread() and file () reads only portion of the given file from beginning to the first #26 character. fgetc() returns an empty string instead of it. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9970&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]