Saving images in database mysql

前端 未结 5 1492
没有蜡笔的小新
没有蜡笔的小新 2020-11-30 13:08

My client have created a script in php+mysql that saves images directly in the database and every images has url like this: www.example.com/image.php?id=421

In your

5条回答
  •  暖寄归人
    2020-11-30 14:12

    There are good and bad points. And it depends on who you are. about 5 years ago it became all the rage to put all images in the database.

    But with server space sizes bigger today, its not really about saving space.

    A negative would be you will always require understanding of server side programming to use images. If this development my be passed to another person, it could prove problematic.

    As far as I can see, if it works, it works and I can't see performance issues - it seems very quick.

提交回复
热议问题