title: Stream binary file from MySQL to download with PHP
body: <p>I have Excel spreadsheets stored in a MySQL table longblob field. I need to retrieve this data and then stream it to the user as a downloadable file, preferably without writing it to disk first.</p>
  
  <p>Possible?</p>
  
  <p>Edit - Eh, just figured it out... Posted in answer below.</p>