Reputation: 23337
I'm using codeIgniter and I'm getting internal server error when trying to upload large files (might be 1Mb and up) The file upload script is working because it uploads to the folder in the server. But saving the file into the database it doesn't work anymore. I've already tried changing the following but still doesn't work:
php.ini
my.ini
Where else do I have to check to ensure that the file upload to the database works.
Upvotes: 0
Views: 1302
Reputation: 95161
I think think you should save files to Database ..but if you insist try NoSQL
Solutions instead .. such as MongoDB
.. its faster and better
Upvotes: 0
Reputation: 79069
Save the files do the directory, not on the database. You might want to save the path though in the databse.
If you want to know WHY, here are some previous post you should check.
Upvotes: 2