madcgimonk
Programmer
I am building my own file management system with the ideas below:
Now, I can do almost all of this with scripts I already wrote. I have a file upload script I've written along with many login scripts.
The question I have is, how do I do the file reading do it slurps up all file names and file data in their folder?
Thanks.
Code:
File Management System
-----------------------
Admin file upload manager
> Allow any files to be uploaded
> Upload form has pulldown of registered users (pulldown associated with a database)
>> One file can be uploaded at a time and will be uploaded to the user's folder as chosen above ^
Member file manager
> Login which redirects to specific folder (cookie authentication)
> They are brought to another script which scans all files in their directory and:
>> Puts them all into a hash/array by given file type
>> Records the file name, the date it was uploaded and file size
>> The script prints these out on the screen in order by given file type and date (newest date on top). These will be links to the particular file so they can download any file they want.
Example:
It would print all images on top, then say zip files, then text, etc. Each category would be setup in chronological order.
Now, I can do almost all of this with scripts I already wrote. I have a file upload script I've written along with many login scripts.
The question I have is, how do I do the file reading do it slurps up all file names and file data in their folder?
Thanks.