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.
How to Generate QR Code with PHP Using Google API
<?
$urlToEncode="http://superiorwebsys.com";
generateQRwithGoogle($urlToEncode);
function generateQRwithGoogle($chl,$widhtHeight ='150',$EC_level='L',$margin='0') {
$url = urlencode($url);
echo '<img src="http://chart.apis.google.com/chart?chs='.$widhtHeight.
'x'.$widhtHeight.'&cht=qr&chld='.$EC_level.'|'.$margin.
'&chl='.$chl.'" alt="QR code" widhtHeight="'.$size.
'" widhtHeight="'.$size.'"/>';
}
?>
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. |