The content upload nightmare - How to properly detect the content of a file
“What is this file?” This is a simple question I didn’t care much about. But that was before I had to properly handle file uploading. This question is easy, anyone can answer it quickly. test.pdf is