PHP Images and MYSQL
Posted: Tue Mar 27, 2007 10:43 am
Ok i think I probably know the answer to this but I will ask to see what other people think.
Which would be a better way to store uploaded photos for a gallery that contains a row for each photo
Would it be better to store the image in the database or just store the filename of the image in the database and the image in a folder on the web server.
I am guessing it is probably better to store the image in a folder on the webserver do to the extra processing power I would think is involved in pulling the image from the database and then recreating it but maybe their is something I am missing here
Tim
Which would be a better way to store uploaded photos for a gallery that contains a row for each photo
Would it be better to store the image in the database or just store the filename of the image in the database and the image in a folder on the web server.
I am guessing it is probably better to store the image in a folder on the webserver do to the extra processing power I would think is involved in pulling the image from the database and then recreating it but maybe their is something I am missing here
Tim