I'm assuming you mean binaries? (pictures, exe files and so on...)
I generally only store the links to files in a database, although I know you can store the binaries themselves in the Database if you wish.
Refer to the article below for more information on doing it:
http://www.phpbuilder.com/columns/florian19991014.php3
John Cornett