PHP 4.0 Bug #7395: fread() is not bin-safe on Windows
| From: | i088 at informatik dot fh-wuerzburg dot de | Date: | Sun, 22 Oct 2000 22:39:23 +0000 |
| Subject: | PHP 4.0 Bug #7395: fread() is not bin-safe on Windows | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35818@lists.php.net to get a copy of this message | ||
From: i088@informatik.fh-wuerzburg.de
Operating system: WIN9x/Linux
PHP version: 4.0.3pl1
PHP Bug Type: Filesystem function related
Bug description: fread() is not bin-safe on Windows
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).
--
Edit Bug report at: http://bugs.php.net/?id=7395&edit=1