<title>Heya, I'm not a path!</title>
<iframe src="Put here the path of the web/file you want to show"></iframe>
A pdf file is not an HTML file. The web browser shows a title because reads HTML code and parses it.
As you can see, there's an iframe tag, the iframe is like a box that loads another webpage inside of it, so the web browser will render the HTML code (title included), and then render a box with another different webpage inside (the PDF file), using css you can configure the iframe tag to adjust to web browser size.
Cool Jorge, didn't think of an iframe, I don't use them often. I'll give the iframe a go and also Tim's suggestions above and see what happens. :)
Sometimes the web browser renders PDF files because of an external plugin, so, if you want to render HTML code and a PDF file, you have to learn a bit of HTML and use frames or iframes.
You can gather post data in the PHP file and send it va GET to the iframe or autopost it just like Facebook does with canvas, here you can see their code: developers.facebook.com/docs/canvas/post scroll down to 'Solution'
iframe works! Just have to figure out an easy way to pass my post data to fpdf as now it has to go through 2 pages. Didn't really want to use sessions but may make things easier.