mukunthan Posted March 25, 2009 Share Posted March 25, 2009 Hi All, Which is the best method to save the images uploaded via form input "file" tag.Is it better to store the images in a folder(0777permission) in the server using "move_uploaded_file" and display it from that folder where ever necessary or is it better to store them in the MySQL DB Table BLOB column and display it from there. Kindly tell me pros and cons of each method? Thanks in Advance Link to comment https://forums.phpfreaks.com/topic/151067-which-is-the-best-method-to-save-the-images-uploaded-via-form-input-file-tag/ Share on other sites More sharing options...
steelaz Posted March 25, 2009 Share Posted March 25, 2009 I would definitely advice against storing images in database, the size of the database can go up very quickly. Just store them using some kind of directory structure and in the database store link to the file. Link to comment https://forums.phpfreaks.com/topic/151067-which-is-the-best-method-to-save-the-images-uploaded-via-form-input-file-tag/#findComment-793604 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.