Capturing\Reading File Contents into DB with PHP
What I need is the ability where user will 'upload' a file to my server, but instead of storing it as an actual file, I want to store it in a database and provide pointers to that file in the database that will uniquely identify it to other users in a list of downloadable files. I then want to allow another user to 'download' that 'file' and view or save it in the original application. So if it was a Word .doc file, it would display in Word. I will be working mostly with Microsoft Word and Excel files.
I have the user file-selection piece on both ends working, but the file contents apparently are not being stripped into the database correctly, and hence I have no file for the end user.
Suggestions?
-aingalsbe
|