[PHP-DEV] PHP 4.0 Bug #7395 Updated: fread() is not bin-safe on Windows From: andi <email protected>
Date: 12/01/00

ID: 7395
Updated by: andi
Reported By: i088 <email protected>
Status: Feedback
Bug Type: Filesystem function related
Assigned To:
Comments:

Did you use "rb" with fopen()?

Previous Comments:
---------------------------------------------------------------------------

[2000-10-22 18:39:23] i088 <email protected>
If you read a (binary) file into a string with fread() the string does not contain the whole file. This appears in the Windows-version (PWS/isapi-PHP and also Apache/apache-PHP-module) but not in the Linux-version (Apache/apache-PHP-module DSO).

---------------------------------------------------------------------------

Full Bug description available at: http://bugs.php.net/?id=7395

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>