dimanche 20 avril 2014

mySql store image or its path in database


Vote count:

0




I am using MySQL and i want to store some images. I read on forum that instead of storing directly images as 'BLOB', store images in directory and there path in database. But what if user will delete any image from directory(or by some other means image gets deleted). Is there any way to handle that situation ? And why its not preferd to store images directly in db?



asked 1 min ago






Aucun commentaire:

Enregistrer un commentaire