MySQL Forums
Forum List  »  PHP

LONGBLOB + PHP + image issue
Posted by: Rytis Petkevicius
Date: November 27, 2017 04:30AM


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

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

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

1. blank white screen
2. black whole screen
3. string: ��x���s�(Ͷ�ݶm۶m�m۶m۶�ݶݽ۶��.....
4. string: hdoAAHichLhzkCjNtubdtm0bu23btm3bto....

Any ideas are welcome,

Options: ReplyQuote

Written By
LONGBLOB + PHP + image issue
November 27, 2017 04:30AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.