Reply to Re: Where to store pictures, in DB or in files?

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на 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

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