Welcome to the blog of Jeremy Cook, a Guelph, Ontario based web developer specialising in PHP. Find out more information about me or how to contact me.
Creating Professional Documents the Easy Way
Have you ever tried to create a professional quality document programmatically from within PHP? It's a real pain and surprisingly tricky to do. There are limited options for PHP developers to produce files in the formats most often used in business. There are libraries for producing PDF files in PHP...
Read More A Quick Tip
I haven't written anything here for ages due to illness, work and life getting in the way. I've got a longer post brewing that I'll hopefully add in the next couple of days but for now here's a quick tip that I hope someone will find useful.
I recently had a...
Read More Creating a Persistent Login Mechanism
I've been working on a project recently where one of the requirements was to have a persistent login mechanism. I'm not a great fan of this kind of feature simply because it significantly degrades the security of the application. As the only mechanism whereby data can be persisted across sessions...
Read More Handling Binary Data with PDO
I'm a great fan of the PDO database access library in PHP 5 and use it for all of my database work in PHP. I love its' clean, object oriented syntax and great support for prepared statements. I also like the fact that it supports most of the most common database...
Read More Location Aware Webpages
I'm working on a site for a client at the moment who has around 35 store locations across Canada. The client was keen to have a 'your local store' feature on the home page where the store closest to the visitors location was featured. I thought I'd write briefly about...
Read More Zend Certification
I became a Zend Certified Engineer in PHP 5 in May 2009 and I thought that I would write about my experiences of the process. I should firstly explain a little about why I took the exam. I had a major career change in my mid thirties when I switched...
Read More 