I am developing a PHP website and I am having difficulty choosing the best method for storing uploaded files.
At the moment I am considering storing the image as a BLOB in the MySQL database but I have also been told that storing the file name of the image would be enough.
There are advantages and disadvantages to both, personally i like to store the images outside of the db and reference the file using a varchar in the db.
If you want to go down the route of storing them as a blob, then this article is a nicely balanced one.
http://www.phpro.org/tutorials/Storing-Images-in-MySQL-with-PHP.html