New PHP script / snippet:
This script is an example how to import all filenames of a single directory into a database table. Extra features are: the last modification date is saved in the database too; all filenames that are not imported to the database are stored in an error array. The script is very easy to use: just place the script into the folder where you want to copy the files and modify the database connection string and then run the script via the browser.

Script Download