Other Services
Portfolio
Categories
Archives
Monthly Archives: December 2011
Using exec to reduce PHP memory use
As mentioned in a previous post, I’ve recently started to use a library called dompdf to convert HTML to PDF using PHP. One of the major problems I came across was the amount of memory used by this library, which … Continue reading
Posted in PDF, Performance
Comments Off
Creating PDF files in PHP with Smarty and dompdf
Back in 2010 I’d been looking for a way to generate PDF files dynamically on a Web site mainly to create files which can be printed or emailed and will work on any computer (printer-friendly pages with CSS didn’t quite … Continue reading
Posted in PDF
Comments Off
Downloading files in Internet Explorer over SSL
There’s a known problem with Internet Explorer when it tries to download files on a secure site (i.e. one with a https prefix). For some reason, IE tries to save the file as an attachment, instead of displaying it in … Continue reading
Posted in Code
Comments Off