Re: [PHP] Re: how to display images stored in DB



On 2/25/07, zerof <zerof@xxxxxxxxxxxx> wrote:

Alain Roger escreveu:
> Hi,
>
> i stored all my pictures in my PostgreSQL DB as bytea type.
> Now i would like to know how can i display them in my PHP pages ?
>
> where can i find some example ?
>
> thanks a lot,
>
------------------
It is not a good practice to store pictures in DataBases, use links,
instead of.
--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
----------------------------------------------------------
Você deve, sempre, consultar uma segunda opinião!
----------------------------------------------------------
Deixe todos saberem se esta informação foi-lhe útil.
----------------------------------------------------------
You must hear, always, one second opinion! In all cases.
----------------------------------------------------------
Let the people know if this info was useful for you!
----------------------------------------------------------

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Indeed. I am building an events directory at the moment that allows
posters to upload images and I store all the images on the file system and
the links in the db.


--
http://www.web-buddha.co.uk


Relevant Pages

  • store directory of OLE object
    ... I have a form to store pictures. ... Pic - data type OLE Object ... I am able to bring up the InsertObject dialog box where I ...
    (microsoft.public.access.forms)
  • Re: How will the change affect multiple recorders?
    ... >> Hmmm...that's rather fallacious analogy Tony.. ... >> More like two people that may take their washing machine to a place ... way, to be stored, just as film is used to store pictures, and how ...
    (uk.rec.video.digital)
  • Re: How workable is Vista?
    ... The most common cause for such big word files is pictures. ... .doc format doesn't seem to be able to store pictures in jpg - it uses a sort of mangled raw bitmap that can't be well compressed by external programs. ...
    (comp.arch.embedded)
  • using mem card pictures for screen saver
    ... I have a Dell Axim 50 and I currently store pictures on the internal memory card. ... Is there a way to point the screen saver to use those pictures? ...
    (microsoft.public.pocketpc)