QR code generation in PHP

This simple example uses the QR code library that can be located at http://phpqrcode.sourceforge.net

here is a very basic example, there are many examples available on their website showing the power of the library

 

<?php
include(‘libs/qrcodes/qrlib.php’);
// outputs image directly into browser, as PNG stream
QRcode::png(‘PHP QR Code example’, ‘filename.png’);
?>

LEAVE A REPLY

Please enter your comment!
Please enter your name here

*