Integrating dompdf with CakePHP

I was under a lot of pressure to quickly implement PDF reports in my CakePHP application. Luckily I came across this excellent tutorial. dompdf is an HTML to PDF converter written in PHP.┬áIt is a style-driven renderer: it will download and read external stylesheets, inline style tags, and the style attributes of individual HTML elements. […]


Upload PDF script

This was a quick hack to upload a PDF to Clearer Conscience. This script was a quick hack to allow a PDF to be uploaded to replace an outdated one on Clearer Conscience. As the PDF link on the site is hard-coded, the new PDF must have the same name as the old one. You […]