Hi
I have a folder with multiple sub folders..
In each folder there are multiple files and the files are of mixed type.
Is there any quick way in PHP to read all the folders and insert the file name including extension and the folder name into an MySQL DB ?
Ideally I need :
file.exe - filename
images - foldername
exe - extension
into three different fields.
I have several thousand files so doing it manually will be a pain !
Thanks