galvin Posted February 8, 2010 Share Posted February 8, 2010 Anyone have any suggestions as to the best way to create PDFs using PHP? I have a pretty good understanding of PHP, but am still pretty much a newbie overall, so the simpler the better. I've seen mention of dompdf, html2pdf, fpdf, etc, etc. but don't know which one I should look into using. I'd like to avoid having to install a new "library" if possible, but if that is necessary, then obviously I'll have to. Basically, I will have a website which displays a table using html/css/php and I want to also make that table available to visitors in a nice PDF document. Any ideas/suggestions/recommendations would be GREATLY appreciated. Thanks, Greg Link to comment https://forums.phpfreaks.com/topic/191405-creating-pdfs-with-php/ Share on other sites More sharing options...
Mchl Posted February 8, 2010 Share Posted February 8, 2010 Go with: http://www.tecnick.com/public/code/cp_dpage.php?aiocp_dp=tcpdf Link to comment https://forums.phpfreaks.com/topic/191405-creating-pdfs-with-php/#findComment-1009036 Share on other sites More sharing options...
galvin Posted February 8, 2010 Author Share Posted February 8, 2010 Thanks, Ill give that one a shot! Link to comment https://forums.phpfreaks.com/topic/191405-creating-pdfs-with-php/#findComment-1009069 Share on other sites More sharing options...
aeroswat Posted February 8, 2010 Share Posted February 8, 2010 Thanks, Ill give that one a shot! Also if you need just straightforward, quick and easy pdf's, fpdf has worked fine for me. Link to comment https://forums.phpfreaks.com/topic/191405-creating-pdfs-with-php/#findComment-1009075 Share on other sites More sharing options...
galvin Posted February 8, 2010 Author Share Posted February 8, 2010 Cool thanks. From what I'm googling, TCPDF and FPDF seem to to be the two favorites, so thanks again to both of you! Link to comment https://forums.phpfreaks.com/topic/191405-creating-pdfs-with-php/#findComment-1009081 Share on other sites More sharing options...
Mchl Posted February 8, 2010 Share Posted February 8, 2010 Also if you need just straightforward, quick and easy pdf's, fpdf has worked fine for me. I am still working with FPDF and it does it's work, but I would seriouslt discourage everyone from selecting it as their PDF lib for any new projects. It's no longer being developed and it doesn't follow modern coding standards (throws a lot of E_NOTICE, E_STRICT and E_DEPRECATED) errors. Link to comment https://forums.phpfreaks.com/topic/191405-creating-pdfs-with-php/#findComment-1009092 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.