Which is the best method to save uploaded images?
Posted: Wed Mar 25, 2009 9:42 am
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
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