Donate Share

HTML 2 PDF - a PHP script

Code

Programming Languages: PHP

License: GNU Library or Lesser General Public License (LGPL)

Repositories

browse code, statistics, last commit on 2004-07-16 cvs -d:pserver:anonymous@html2fpdf.cvs.sourceforge.net:/cvsroot/html2fpdf login

cvs -z3 -d:pserver:anonymous@html2fpdf.cvs.sourceforge.net:/cvsroot/html2fpdf co -P modulename

Show:

What's happening?

  • Two small gripes

    Two wee moans: 1. There are no sysreqs, in particular the PHP version required. Not mentioned in the FAQ or TFM. Sadly, our systems still use PHP 4.3 (yeah, I know, it's been deprecated for over a year, but what can you do if the sysadmin refuses to upgrade?) 2. The project website at http://html2fpdf.sourceforge.net/ fails to display PDFs in its <iframe> even though I've got Adobe...

    2009-10-19 13:20:16 UTC by fredriley

  • Images Not being shown properly

    Hi I have an issue with generating PDF from HTML containing images. Here is an example code <img src="http://localhost/narrative/files/testimage.jpg" /> Works fine, and generates the correct PDF with the image embedded. but If the &lt;img&gt; tag is enclosed in a &lt;p&gt; or &lt;div&gt; the PDF contains garbled characters, example code.

    2009-10-16 12:58:15 UTC by fragger_fox

  • Followup: RE: table in pdf runs out of format

    i used the web-service converter at http://www.htm2pdf.co.uk/, it works well, but wen i used html2pdf in my own server , it doesnt show in the correct formating. really appreciate advise and help! :) Thanks.

    2009-09-13 18:59:03 UTC by mandelism

  • table in pdf runs out of format

    Hi, i produced my html report, and it works well, but when i try using html2pdf to convert to PDF, the table content runs abit. instead of showing two lines, the lines are combined ( i put a <br/> tag in between to seperate 2lines) i used this code to convert my html page > require('html2fpdf.php'); > extract($_GET); $pdf=new HTML2FPDF(); > $pdf->AddPage(); $fp = >...

    2009-09-13 18:28:06 UTC by mandelism

  • Undefined index errors

    I'm trying to convert reports that are generated trough a local intranet site to a PDF. I use this simple code to generate the PDF file: <?php require("html2fpdf.php"); $pdf=new HTML2FPDF(); $pdf->AddPage(); $fp = fopen("table.html","r"); $strContent = fread($fp, filesize("table.html")); fclose($fp); $pdf->WriteHTML($strContent);...

    2009-09-04 14:32:40 UTC by flupeke007

  • Page breaks - how to

    So all you have to do to force a page break in your output is place the line <NEWPAGE> in your html code. hope that helps someone :)

    2009-08-11 05:01:54 UTC by gavincalkins

  • Followup: RE: FPDF 1.6

    if you could post a link on the forum I'd definitely like to try it out, also, i think jmourot is the person to talk to about new releases. Anyway, please send me a copy or post a link! :)

    2009-08-07 09:25:23 UTC by gavincalkins

  • Followup: RE: Next Release?

    I know this thread's extremely old, but i was working with 3.0.3c and it creates PDF's that adobe says "has errors". this was when I was putting an image inside a table. the image did not render either. the problem I was attempting to solve was the font size in tables deal, which it did solve! however with adobe reader complaining of errors in the pdf and my images not rendering...

    2009-08-07 09:22:35 UTC by gavincalkins

  • Followup: RE: thml2pdf

    $url="http://www.blah.com"; // create curl resource $ch = curl_init(); // set url curl_setopt($ch, CURLOPT_URL, $url); //return the transfer as a string curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // $output contains the output string $output = curl_exec($ch); // close curl resource to free up s.

    2009-08-07 08:42:08 UTC by gavincalkins

  • Followup: RE: No CSS on output.

    I ran across the same issue.

    2009-08-07 05:38:20 UTC by zubryan

Our Numbers