04-01-2009, 12:14 PM
|
#17 (permalink)
|
|
The Addict
Join Date: Nov 2007
Location: USA
Posts: 256
Thanks: 7
|
Have not tried this but something similar words for .doc try
header('Content-type: application/pdf');
header('Content-Disposition: attachment; filename="downloaded.pdf"');
readfile('original.pdf');
Not to sure on the last line.
http://corymathews.com/?p=287 shows how to save for .doc but changing the header files to the ones about should save a page as a .pdf. Then you don't need any third party crap.
|
|
|
|