Home » Database » DB » Bug #288
Not reading binary files
Details
| Submitted | 2003-11-24 11:54 UTC |
|---|---|
| From | klemen at virtuni dot net |
| Assigned | chagenbu |
| Status | Closed |
| Package | DB |
| PHP Version | 4.3.3 |
| OS | windows |
| Roadmaps | (Not assigned) |
Comments
[2003-11-24 11:54 UTC] klemen at virtuni dot net
Description:
------------
If using PEAR on Windows machine PEAR::DB is not reading binary files as binary but text instead. This means that only part of a file gets read. When using fopen 'rb' should be used in file common.php in lines 613 and 615.
[2003-12-18 16:46 UTC] chagenbu at php dot net
I've committed this fix in CVS - it will be in the next DB release. Thanks!