sorry, got no sample around, but it shouldn't be too hard:
create an upload script, read the file from the temp where php has saved it and put this data directly into a blob row of mysql.
there's a column here at phpbuilder about inserting binary data into a db:
http://www.phpbuilder.com/columns/florian19991014.php3