Roger Ramjet,
Thanks for your answers, i have two comments.
1. regarding the table of files that have been imported,
I guess that i was thinking of moving files from the directory once they were processed rather than tracking which ones were imported already. Since the files are placed in the directory by the feed intake system rather than by some person it would be better to have them automatically removed. this would eventually lead to a dropdown with only the files that have not yet been loaded into the table. most days this would be one file, and monday there would be three files to load, (sat,sun,mon).
- Regarding the idea of using a working table and SQL insert and replace to build the daily chunk of data to insert into the big data table.
I really like this idea, i had it in my head that i would use fgetcsv and read one line at a time to populate an insert statement, with the date variable beign generated further up in the script. this in a loop was my thought, but a working table that i could replace the date field with the parsed file name then bulk load that into the proper data table sounds easier for me (since i know more sql than php.)
I really appreciate your time to comment on this.
Mark