What is the best way to store and manipulate files on a website? and why? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Resposta
+ 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