21
Nov
reading directory in PHP
Posted by shweta | 0 Comments
I want to read a directory on my local disk and then want to insert all information in a table. say if there are 10 tables in the directory i want to insert the file name, size, type, owner, time of creation modification etc into a database.
up till now i can read all files from directory and can list them using an array but how can i have only the name of the file in string format.
please reply i really need it