You'll have to create a column in BLOB format and upload the content of the file (file_read_contents() will be enough), you don't need to base64 it.
http://dev.mysql.com/doc/mysql/en/BLOB.html
And well there is
http://es.php.net/features.file-upload.
Please
or search next time