Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Web Design & Development > PHP/MySQL/Scripting

  • Print
  • + Share This
Like this article? We recommend Conclusion


There are a few situations in which it makes more sense to store binary data in a database instead of on the file system. As you’ve seen in this article, doing so isn’t that much more complicated than storing ordinary plain-text data. The database fundamentals—the queries used—are the same; the biggest change is in the PHP script that sends the data back to the browser.

Now you can consider whether it makes sense to use the database instead of the file system to store binary data in your next web project.

  • + Share This
  • 🔖 Save To Your Account