On this page:
News
Security vulnerability in dompdf
[2008-02-05] A security vulnerability in dompdf has recently been discovered. The vulnerability would allow an attacker to access any file readable by the webserver. A solution is being developed presently.
Until a new version is available, it is recommended that all users remove the dompdf.php file from their installation and to use the dompdf class directly (see http://www.digitaljunkies.ca/dompdf/usage.php#class). If it is not possible to remove dompdf.php, the PHP ini option open_basedir should be set to a secure base directory (see http://www.php.net/manual/en/features.safe-mode.php#ini.open-basedir). (0 comments)
dompdf-0.5.1 released
[2006-07-07] dompdf-0.5.1 has been released! Version 0.5.1 includes several important bugfixes:
- image url and path handling has been tidied up and should now work properly
- border styles are accepted in any order
- vertical-align works properly within table cells
- <br> works within inline tags (e.g. <font>, <span>)
- CSS height property now respected by block elements properly
- the "Attachment" option to dompdf->stream() has been fixed
- support for multiple CSS classes (i.e. <p class="class1 class2"> ... </p>)
- and many more fixes: See the ChangeLog for the complete list of improvements.
Version 0.5.1 is available at your nearest SourceForge mirror. As always, if you need help or find a bug feel free to either send me an email at dompdf at digitaljunkies.ca or post a message to the SourceForge forum. (1 comments)
dompdf gets dugg!
[2006-05-04] Whoa, 20,000 hits yesterday & dompdf makes it to digg.com's front page! Thanks to all for the kind comments on digg.com: http://digg.com/programming/Convert_HTML_to_PDF_with_PHP (0 comments)
dompdf-0.5 released
[2006-04-06] dompdf-0.5 has been released! Version 0.5 includes several major improvements and bug fixes. Highlights include:
- Unicode support when using PDFLib, courtesy Jeremy Buchman (licensed version only--PDFLib Lite will NOT work)
- Hyperlink and named anchor support, courtesy Jeremy Buchman
- Support for background-image
- Support for vertical-align
- Fixes for images within tables, page breaks across tbody elements, and 'Frame not found in cellmap' errors.
- Fixes for aliased directories courtesy Nick Oostveen.
- Several speed improvements courtesy Jeremy Buchman.
dompdf-0.5 is available at your nearest SourceForge mirror. If you need help or find a bug please either send me an email at dompdf at digitaljunkies.ca or post a message to the SourceForge forum. (0 comments)
dompdf-0.4.4 released
[2005-12-30] dompdf-0.4.4 has been released! Major improvments have been made to the page break code, particularly for tables. A new GD-based rendering backend has been added, so now dompdf can render PNGs, JPEGs and GIFs. (Note that this backend is still somewhat experimental.)
The page count bug introduced in 0.4.3 has been fixed, and PDF compression is now enabled by default, so generated PDFs should be smaller.
A host of other small bugfixes have also been included. As usual, feel free to hit the sourceforge forums or to send me an email if you have any questions or need help. (0 comments)