I have a (at least for me) somewhat difficult task on my hands.
I need to be able to populate a mysql table [files] with the path and filename of each file in a directory, also its size and date.
For example - a directory with many sub dirs and files, 13,000 to be exact - I need to cycle through each file and make an insert into the [file] table with the name of the file with its relative path, ie. $basedir/docs/help/index.html. - also the size and date of the file.
I have browsed on php.net and found a few clues, but am hoping someone has done this and has a better idea than me.
thanks!