|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-03-31 16:13 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 14:00:01 2025 UTC |
When I tried to upload binary data (such as pictures) into BLOB fields using "savefile" method of the BLOB descriptor I saw that this files are uploaded partially without any error messages. In the function "oci8_savedescfile" in the line: if ((fp = open(filename, O_RDONLY)) == -1) { php3_error(E_WARNING, "Can't open file %s", filename); O_BINARY flag missed in order to proper reading of binary files