MySql or plain simple text file.
Posted: Tue Oct 27, 2009 1:16 pm
All,
I've been recently reading that to store images onto a database is a no no..... it's best to load images directly from file.
If I follow the database route, then I need to create a simple program to read my images into the database - A bit of a hassle really.... especially if my website expands.
So what I've come up with is to create a type of file that is structured in such a way that I can read it using parse_ini_file. This file holds the names of images and I've created one for each directory - Calling it Thumbs.txt - plus any textual information associated with each image. It works fine, but just wondering if this is the correct approach to
Many thanks.
John
I've been recently reading that to store images onto a database is a no no..... it's best to load images directly from file.
If I follow the database route, then I need to create a simple program to read my images into the database - A bit of a hassle really.... especially if my website expands.
So what I've come up with is to create a type of file that is structured in such a way that I can read it using parse_ini_file. This file holds the names of images and I've created one for each directory - Calling it Thumbs.txt - plus any textual information associated with each image. It works fine, but just wondering if this is the correct approach to
Many thanks.
John