Hi folks,
I'm looking for coding suggestions. My attack plan to get images information from a directory into a MySQL 5 DB, which start out as many compressed files. Once these files are unzipped into a directory, my method has been to recurse through the images directory - which has thousands of images - and load the file data into an array for processing and loading into the DB (id, path, extension, etc.).
However, I have reached the max array limit, so this will no longer work. I am looking for other solutions.
One idea I had is rather than recurse through all the folders in the images directory at once, to instead put each sub-folder into the array, load the images into the DB, than empty the array, adding the next sub-folder into the array, etc.
I don't know XML, but I was curious as to the benefits of putting all the data information into an XML file and using this to load the DB. I still see myself running up against array limits.
Thanks,
Eve