Can I see your php.ini settings? Create a page with
<?php
phpinfo();
?>
And then send me a link to it.
Have you considered uploading the files to a folder and then storing the folder location in the database instead of the actual file.
It might be a good test to try uploading a file to a folder to determine if the restriction is coming from the file upload or the database.