You are here: Re: Displaying an image from inside Mysql database.. « PHP Programming Language « IT news, forums, messages
Re: Displaying an image from inside Mysql database..

Posted by Captain Paralytic on 09/14/07 11:09

On 14 Sep, 11:55, The Natural Philosopher <a...@b.c> wrote:
> Ok. what I want to do, is have pictures as BLOBS in a database.
>
> And show them onscreen.
>
> If I have a generic program called say - showpic.php - which is capable
> of spitting out an image suitable for downloading, and I write a bit of
> HTML like
>
> <IMG URL="showpic.php?id=1112233456">Picture of item 1112233456</IMG>
>
> where the id is and index to the actual picture I want, for example,
> will that work?

It will only work if the script executed from showpic.php reads the
data from the database and sends it with the correct headers to the
browser.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация