php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18631 Can not read Binary file completely when using ISAPI
Submitted: 2002-07-29 15:02 UTC Modified: 2002-07-30 18:29 UTC
From: kenny at yellowzone dot com Assigned:
Status: Not a bug Package: IIS related
PHP Version: 4.2.1 OS: Windows 2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: kenny at yellowzone dot com
New email:
PHP Version: OS:

 

 [2002-07-29 15:02 UTC] kenny at yellowzone dot com
The fread() function can not read the
complete content of the binary file, such
as an PDF file if it is more than 100k.
It happens if the system is using IIS and
PHP Isapi. 
If will work fine if it is using
IIS and PHP in CGI mode. 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-29 20:19 UTC] sniper@php.net
I guess you have opened it in "rb" mode? (just want to be sure about that..)

 [2002-07-30 12:36 UTC] kenny at yellowzone dot com
I used "r" mode only. Maybe that's why.
 [2002-07-30 18:29 UTC] sniper@php.net
You have to use 'rb' if you're dealing with binary files under windows. 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 12:01:27 2024 UTC