GioBulia Posted February 27, 2012 Share Posted February 27, 2012 Hello,I want to make PDF file from PHP,Can anyone help me? Thank you Link to comment Share on other sites More sharing options...
Jamesking56 Posted February 27, 2012 Share Posted February 27, 2012 I have the same question Link to comment Share on other sites More sharing options...
thescientist Posted February 27, 2012 Share Posted February 27, 2012 https://www.google.com/#hl=en&sclient=psy-ab&q=create+PDF+files+php&pbx=1&oq=create+PDF+files+php&aq=f&aqi=g-v2g-j1&aql=&gs_sm=3&gs_upl=6359l11517l0l11900l24l20l2l2l2l0l157l1856l13.7l24l0&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.,cf.osb&fp=994bc59d4bb22d0c&biw=1438&bih=773 Link to comment Share on other sites More sharing options...
Jamesking56 Posted February 27, 2012 Share Posted February 27, 2012 Tried loads off google, they either have issues creating due to CSS or they create it but it displays incorrectly. Looking for a better solution please? Link to comment Share on other sites More sharing options...
ShadowMage Posted February 27, 2012 Share Posted February 27, 2012 I have never had any problems with FPDF. Link to comment Share on other sites More sharing options...
boen_robot Posted February 27, 2012 Share Posted February 27, 2012 The question is do you want to create a PDF from scratch, or transform an HTML page to PDF.If you want to transform an HTML page to PDF, using something like DOMPDF, but all may have some caveats, as jamesking56 points out.If you want to create a PDF from scratch, you could use PDFLib, but that's not exactly trivial. It's so not trivial, that there are other libraries that try to make things easier, such as Zend_Pdf for example. Link to comment Share on other sites More sharing options...
GioBulia Posted February 27, 2012 Author Share Posted February 27, 2012 If you want to transform an HTML page to PDF, using something like DOMPDF, but all may have some caveats, as jamesking56 points out. I need HTML page convert to PDF Thank you Link to comment Share on other sites More sharing options...
thescientist Posted February 27, 2012 Share Posted February 27, 2012 well, he just gave you a suggestion and a link. have you looked into it? Link to comment Share on other sites More sharing options...
GioBulia Posted February 27, 2012 Author Share Posted February 27, 2012 well, he just gave you a suggestion and a link. have you looked into it? Yes, I looked )) Link to comment Share on other sites More sharing options...
GioBulia Posted February 27, 2012 Author Share Posted February 27, 2012 I have utf8 and php read problem, can anyone help me? Link to comment Share on other sites More sharing options...
justsomeguy Posted February 27, 2012 Share Posted February 27, 2012 You need to access the file over HTTP, don't use the local filename of the PHP file. It's reading the PHP code, not the output. Access it over HTTP to get the output. Link to comment Share on other sites More sharing options...
TheGallery Posted February 28, 2012 Share Posted February 28, 2012 Friendly out of topic tip. Be careful of the information you pass through your screenshots. You would like to hide some things before posting it online. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.