Upload files for a specific folder and store them in mysql
Posted: Tue Mar 24, 2009 11:30 am
Hi
I have about 4 gigs worth of pictures. I would like to store these in a mysql table to use on my website.
I know you can store images in a mysql table as a BLOB. I have the following questions:
1. How do I fetch a list of files on my server in a specific folder and loop them them?
2. can I remove them once inserted into mysql table?
Any help much appreciated and I am still a php newbie so please excuse some of my silly questions.
I have about 4 gigs worth of pictures. I would like to store these in a mysql table to use on my website.
I know you can store images in a mysql table as a BLOB. I have the following questions:
1. How do I fetch a list of files on my server in a specific folder and loop them them?
2. can I remove them once inserted into mysql table?
Any help much appreciated and I am still a php newbie so please excuse some of my silly questions.