Thread: Output to PDF
View Single Post
Old 04-03-2009, 03:55 AM   #22 (permalink)
CoryMathews
The Addict
 
CoryMathews's Avatar
 
Join Date: Nov 2007
Location: USA
Posts: 256
Thanks: 7
CoryMathews is on a distinguished road
Default

Ah yes. My code fails. I understood the question correctly just gave a wrong code snippet. I had that on my list of snippets to test and I had already tested

header("Content-type: application/vnd.ms-word");
header("Content-Disposition: attachment;Filename=hello.doc");

And it would make the user be prompted to save the page as a word doc. So I figured the same would go with the .pdf, but I was wrong.
CoryMathews is offline  
Reply With Quote