How do I access a blob field from PHP?

In this forum we will discuss things relating the ZEOSLib 6.6.x stable versions

Moderators: gto, EgonHugeist

Post Reply
LucasBols
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 22.10.2010, 03:37

How do I access a blob field from PHP?

Post by LucasBols »

Hello

I have two databases in SQLite and MySQL, a table and I need to store images
access them from within PHP.

How I can get this?

Thank you very much.
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

LucasBols,

This actually is a php question, so basically unrelated to zeoslib.

However, when you store these blobs usig a zeoslib program, you might encounter trouble when using sqlite (not sure about mysql), as I think the blobs are stored with an unusual 'encoding' in pre zeos 7 versions (and even in the -.0-alpha version this was the case, I believe). So if you still have to store the images in the sqlite database you better use the 7.0 version.

Mark
Image
Post Reply