homepage Welcome to WebmasterWorld Guest from 54.204.94.228
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
display blob images with php
phex

5+ Year Member



 
Msg#: 3776613 posted 11:43 am on Oct 30, 2008 (gmt 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.

 

stuartc1

10+ Year Member



 
Msg#: 3776613 posted 3:16 pm on Oct 30, 2008 (gmt 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()

jatar_k

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



 
Msg#: 3776613 posted 4:04 pm on Oct 30, 2008 (gmt 0)

try this
[webmasterworld.com...]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved