PHP headers for PDF file

Well here’s how to open a pdf file and serve it to the browser with PHP

PHP:

source: Stackoverflow