Postgresql and storing images.

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
Pizentios
Forum Newbie
Posts: 4
Joined: Wed Apr 21, 2004 4:07 pm
Location: Brandon, Manitoba, Canada

Postgresql and storing images.

Post by Pizentios »

Hey,

i need to store images in a postgresql db. Yes i know this isn't the best thing to do, and i have been reading up on it. I have found losts of posts on various forms talking about how to do it, however ether they are only explaining part of it, or it's so vague that it's no use to me. I have been reading the php manual about pg_lo_create() etc, but i am having trouble understanding the documents that i have been able to find. Can sombody please explain how i should go about inserting a image into my db/the best way to do it? Thanks for the help in advance.

-Pizentios
Post Reply