Hey Lorna,

I’ve rolled QR codes into the re-write I’m doing to CCHits.net, but I’m using a local library from http://sourceforge.net/projects/phpqrcode/. Here’s (loosely) how I’m using it:

<?php
$url = 'http://www.example.com&#039;;
$localfilename = 'qrcode.www.example.com.png';
if (! file_exists(dirname(__FILE__) . '/' . $localfilename) {
include_once '/path/to/libs/phpqrcode.php';
QRcode::png($url, dirname(__FILE__) . '/' . $localfilename, 'M', 2, 1);
}
echo "Click here to visit $url”;