Posted by Richard Levasseur on 07/07/06 19:51
romayankin@gmail.com wrote:
> I'm making some kind of news-board site on PHP (tthat's why I guess
> it's the right place to post the question here). Each entry would
> have a small picture (less then 100kb). Taking into consideration all
> pros and cons the question is where to store these pictures in DB or in
> files?
Files. You can link to them in an <img> tag easier, don't have to
write code to extract the image and send the appropriate headers, and
can easily view/modify/ them using ftp/samba/etc. Store a path to the
file in the database instead.
[Back to original message]
|