+ 2

What is the best way to store and manipulate files on a website? and why?

1. Store entire file as binary BLOB in the database 2. Store the files on a directory on the server, and their paths as a string in the database

26th Jan 2020, 6:10 PM
ihab đŸŒŒ
ihab đŸŒŒ - avatar
1 Answer
+ 1
// In case of file's i prefer storing in server directory's , It will optimize your database and will be small in size if you export and easy to manage
26th Jan 2020, 6:12 PM
Sudarshan Rai
Sudarshan Rai - avatar