How to retrieve mySQL LONGBLOB image in PHP

229 Views Asked by At

Could someone help me with issue of selecting an image from mySQL(running on CentOS) in PHP.

I do have a field: ImageBlob (LONGBLOB) scanned image is stored from 4D(fourth dimension) application and data on the field looks like: 0x85DA0000789C84B8739028CDB6E...

I have tried to retrieve it on my website in 100s of different ways(decode_64, various MIMEs etc.), but image doesn't appear, what I was able to get is:

  1. blank white screen
  2. black whole screen
  3. string: ??x???s?(???m?m?m?m???????.....
  4. string: hdoAAHichLhzkCjNtubdtm0bu23btm3bto....

Any ideas are welcome

0

There are 0 best solutions below