HOME CLIENTS SERVICES BLOG ABOUT US CONTACT US
Categories:
 Internet Marketing
 IT Humour
 IT Industry News
 Search Engines
 User Guides
 Web Development
Browse by tags
Search Blog:
RSS
Subscribe to our newsletter
Name*:
E-Mail*:
Recent Posts
Generate QR Code with PHP Using Google API
Most Common Connection Speeds in 2009
How to change design of Moneris Hosted Paypage
Most Common Screen Resolutions in 2009
Running Flowplayer (Flash Player) on local computer
Location.href Fire Fox and Mozilla Problem
June 30, 2010 - Generate QR Code with PHP Using Google API

 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($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.
Associated tags:  PHP, Google, QR Code, Google API, API
Add Comment:
Name*:
E-Mail: Website:
Your message*:
© 2000 - 2010 Superior Web Solutions   Web design    Web development    Online marketing