Output to PDF
View Single Post
04-02-2009, 10:01 AM
Join Date: Sep 2007
Originally Posted by
Have not tried this but something similar words for .doc try
header('Content-Disposition: attachment; filename="downloaded.pdf"');
Not to sure on the last line.
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.
What he wants is to generate a pdf on the fly, not send an already generated one to the user :)
View Public Profile
Send a private message to Kalle
Visit Kalle's homepage!
Find More Posts by Kalle