#18631 [Opn->Fbk]: Can not read Binary file completely when using ISAPI
| From: | jtate@php.net | Date: | Tue, 30 Jul 2002 14:55:20 +0000 |
| Subject: | #18631 [Opn->Fbk]: Can not read Binary file completely when using ISAPI | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-15588@lists.php.net to get a copy of this message | ||
ID: 18631
Updated by: jtate@php.net
Reported By: kenny@yellowzone.com
-Status: Open
+Status: Feedback
Bug Type: IIS related
Operating System: Windows 2000
PHP Version: 4.2.1
Previous Comments:
------------------------------------------------------------------------
[2002-07-29 20:19:05] sniper@php.net
I guess you have opened it in "rb" mode? (just want to be sure about
that..)
------------------------------------------------------------------------
[2002-07-29 15:02:17] kenny@yellowzone.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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18631&edit=1