php:Store image into Mysql blob, Good or bad?
this question is confusing me so i thought i should listen to an expert voice !. is it better to upload images to a folder and just save link to mysql, or better upload img itself into a blob mysql field ? thank you very much I have often built systems to store images in the database, there are pros and cons to doing this. Pros: All your data is kept in one place, if you migrate your website/database the images will just be there Its easier to sort/delete/etc... Since you have to serve it via a PHP script, you can perform additional things such as security if required, or image processing