#18631 [Fbk->Opn]: Can not read Binary file completely when using ISAPI
| From: | kenny at yellowzone dot com | Date: | Tue, 30 Jul 2002 16:36:27 +0000 |
| Subject: | #18631 [Fbk->Opn]: Can not read Binary file completely when using ISAPI | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-15606@lists.php.net to get a copy of this message | ||
ID: 18631
User updated by: kenny@yellowzone.com
Reported By: kenny@yellowzone.com
-Status: Feedback
+Status: Open
Bug Type: IIS related
Operating System: Windows 2000
PHP Version: 4.2.1
New Comment:
I used "r" mode only. Maybe that's why.
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