I've used to store files in an educational web site , so I'll advice you to store in the database the info about the files, not the files themselves, I'll recommand you to put them in an ftp , or via a htpp access , It could be like this
=> the fils is here
/mysite/myfile.xxx
=> the table
Filename : myfile.xxx
category :xxxxx (where the cat could refer to a directory for example)
owner : the man who sold the world
size : 1024 Kb
seen (or downloaded) : 45454 times
description : nothing else a matters hunger file
Hope You understand me
