Why would you want to store the documents in a database? A reference table that links the files location with a description seems to be preferable.
That way the web server handles all the header issues that will come up when you have to extract the data from a binary field and stream through PHP.
I would advise to use standard PHP uploads and reference the files in an index like table.
Start reading here:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.