I'm implementing a website where images are stored in a database. These are two tutorials that I've come across with two different ways of storing and retrieving image data.
Which one would you recommend, and why?
http://www.developertutorials.com/tutorials/php/storing-images-database-050620/page1.html
http://www.onlamp.com/pub/a/onlamp/2002/05/09/webdb2.html?page=2