howard-moore Posted March 9, 2011 Share Posted March 9, 2011 Hi All, I want to be able to show selected pages of my website as PDF using a 'PDF' button much like this site does: http://www.westmeon.org.uk/index.php?option=com_content&task=blogsection&id=8&Itemid=35 I presume that I will need to install some sort of software on my server (which runs the latest PHP, MySQL etc.) but after hours of searching online I cannot find a simple way of doing this. Does anyone have any suggestions or pointers for how I can do this? FYI my website is written in PHP drawing data from a MySQL database. Regards, Neil Link to comment https://forums.phpfreaks.com/topic/230083-show-page-as-pdf/ Share on other sites More sharing options...
joel24 Posted March 9, 2011 Share Posted March 9, 2011 you need to generate the PDF. A good free pdf generator is fpdf Link to comment https://forums.phpfreaks.com/topic/230083-show-page-as-pdf/#findComment-1184966 Share on other sites More sharing options...
HuggieBear Posted March 9, 2011 Share Posted March 9, 2011 A good free pdf generator is fpdf There's also a Pear package for it Link to comment https://forums.phpfreaks.com/topic/230083-show-page-as-pdf/#findComment-1184968 Share on other sites More sharing options...
howard-moore Posted March 10, 2011 Author Share Posted March 10, 2011 I've had a look at both of these, and frankly they are a little beyond me. Does anyone know of a relatively simple download/unzip/upload/add php include solution? Link to comment https://forums.phpfreaks.com/topic/230083-show-page-as-pdf/#findComment-1185579 Share on other sites More sharing options...
HuggieBear Posted March 10, 2011 Share Posted March 10, 2011 OK, there's a HTML - PDF class at phpclasses.org but it submits to existing conversion sites via Web Services I believe. Give it a whirl and let us know how you get on. Link to comment https://forums.phpfreaks.com/topic/230083-show-page-as-pdf/#findComment-1185581 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.