ID:               18964
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Feedback
 Bug Type:         InterBase related
 Operating System: WIN 2000 Pro
 PHP Version:      4.2.2
 New Comment:

Let me clarify that:
Dont use:
  fopen ($filename, "r");
use this instead
  fopen ($filename, "rb");



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

[2002-10-01 04:05:23] [EMAIL PROTECTED]

Always(!) use "rb" when fopening binary files under Windows.
Does this resolve the problem??

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

[2002-08-30 10:29:42] [EMAIL PROTECTED]

InterBase manual quotation:
How are Blob data stored?
Blob is the InterBase datatype that represents various objects, such as
bitmapped images, sound, video, and text. Before you store these items
in the database, you create or manage them as platform- or
product-specific files or data structures, such as:
1)TIFF, PICT, BMP, WMF, GEM, TARGA or other bitmapped or vector-graphic
files.
2)MIDI or WAV sound files.
3)Audio Video Interleaved format (.AVI ) or QuickTime video files.
4)ASCII, MIF, DOC, RTF, WPx or other text files.
5)CAD files.
You must load these files from memory into the database
programmatically, as you do any other host-language data items or
records you intend to store in InterBase.

4.2.2 release news quatation:
1)Better Interbase blob, null and error handling. (Patch by Jeremy
Bettis)
2)Added Win32 project for the Interbase module (Zeev)
3)Ported InterBase module finally from PHP 3 to PHP 4. Full support for
  InterBase 6. (Jouni)

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

[2002-08-24 06:43:33] [EMAIL PROTECTED]

CVS snapshot works worse then php 4.2.2
Database error messages: Unable to display blob. The format is not
graphical. (for all types - BMP, gif, jpg, tif)
Detail message:
Stream read error(for all types)

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

[2002-08-21 20:27:43] [EMAIL PROTECTED]

Please try using this CVS snapshot:

http://snaps.php.net/win32/php4-win32-latest.zip


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

[2002-08-21 11:43:39] [EMAIL PROTECTED]

what kind of info do you need? please tell me particularly.

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/18964

-- 
Edit this bug report at http://bugs.php.net/?id=18964&edit=1

Reply via email to