ช่วงนี้ QR-Code กำลังมาแรง ก็ลองสร้าง QR-Code กับเค้าดูบ้าง ค้นไปค้นมาพบว่า Google มี API ให้ใช้ คือ Google Chart Tools ซึ่งมันสามารถสร้าง QR-Code ได้ รายละเอียดเข้าไปอ่านที่ http://code.google.com/apis/chart/docs/gallery/qr_codes.html นะ ตัวอย่าง Code สำหรับ สร้าง QR-Code <?php function google_qr($url,$size =’150′,$EC_level=’L’,$margin=’0′) { $url = urlencode($url); echo ‘<img src=”http://chart.apis.google.com/chart?chs=’.$size.’x’.$size.’&cht=qr&chld=’.$EC_level.’|’.$margin.’&chl=’.$url.’” alt=”QR code” width=”‘.$size.’” height=”‘.$size.’”/>’; } google_qr(‘http://www.okito.com’, 216);