Page 1 of 1

How do I access a blob field from PHP?

Posted: 18.11.2010, 21:40
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.

Posted: 19.11.2010, 23:06
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