What is QR Code
QR Code is a matrix code (or two-dimensional bar code) created by Japanese corporation Denso-Wave in 1994. The "QR" is derived from "Quick Response", as the creator intended the code to allow its contents to be decoded at high speed.
Sample: (http://superiorwebsys.com is in this code)
How to Generate QR Code with PHP Using Google API
<?
$urlToEncode="http://superiorwebsys.com";
generateQRwithGoogle($urlToEncode);
function generateQRwithGoogle($url,$widthHeight ='150',$EC_level='L',$margin='0') {
$url = urlencode($url);
echo '<img src="http://chart.apis.google.com/chart?chs='.$widthHeight.
'x'.$widthHeight.
'&cht=qr&chld='.$EC_level.'|'.$margin.
'&chl='.$url.'" alt="QR code" widthHeight="'.$widthHeight.
'" widthHeight="'.$widthHeight.'"/>';
}
?>
What are the Benefits of QR Code
With QR code mobile users can access website with more details about something, or a promotion from anywhere.