Welcome to WebmasterWorld Guest from 54.160.177.33

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

display blob images with php

     
11:43 am on Oct 30, 2008 (gmt 0)

Junior Member

5+ Year Member

joined:Sept 19, 2008
posts: 49
votes: 0


Hi there all. I am struggling to display blob images uploaded and stored in the mysql table below. So I am inviting anyone with blob images knowledge to help me develop a php code to display all the information and images stored in the table. Here is the structure of the table below:

Database: test
Table name: tbl_images
Id: int primary key not null auto increment
Image: blob
Description: text
Taken_by: varchar(50)
Email: varchar(50)
Time: timestamp

Thank you in advance.

3:16 pm on Oct 30, 2008 (gmt 0)

Full Member

10+ Year Member

joined:Feb 19, 2003
posts:227
votes: 0


I will give you a pointer - you need to echo out the correct image http header, followed by the blod data stream. simple as that... try looking up the php function header()
4:04 pm on Oct 30, 2008 (gmt 0)

Administrator

WebmasterWorld Administrator jatar_k is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 24, 2001
posts:15755
votes: 0


try this
[webmasterworld.com...]