Hello, everyone.

This project is really pushing me to become acquainted with a lot of functions I've never worked with, before.

The question, this time:
If I have a database table that houses files (and these can be PDF, TXT, DOC, XLS, or PPT) and would like to allow a user to download and save a particular file (as opposed to opening the file in the browser), how would I go about doing that?

If the file existed on the server, that'd be simple enough. But if it's being created on-the-fly via BLOB data??