04-03-2009, 03:55 AM
|
#22 (permalink)
|
|
The Addict
Join Date: Nov 2007
Location: USA
Posts: 256
Thanks: 7
|
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.
|
|
|
|