php?
I would advice against storing Images in a mysql db. 1) Images are heavy. Your DB will grow pretty fast 2) To serve an image, you'll need another php script, opening a db connection, loading the image and output it. This requires some resources. Instead I'd just upload the image, store it on the disk (or for bigger files on a Service like AWS S3) and just save the path to the image in the Database.
Обсуждают сегодня