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

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

PHP Server Side Scripting Forum

    
html tag that displays all file formats stored as blob in mysql db
phex




msg:3987276
 12:45 pm on Sep 10, 2009 (gmt 0)

<img src="viewer.php?id=<?php echo $id;?>" width="400" height="300" alt="<?php echo $name;?>

the tag above displays images stored as blob in tbl_images.
What can i do to make it display .swf, .jpg ,.mp3 almost everithing stored as blob in tbl_images?

 

andrewsmd




msg:3987611
 9:27 pm on Sep 10, 2009 (gmt 0)

Explain more please.

coopster




msg:3987896
 11:41 am on Sep 11, 2009 (gmt 0)

You'll need to know the content type of the stored binary large object and send out the appropriate header [php.net] first.

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