generate QR code with Google API

<?php   
    $size          = $_REQUEST['size'];
    $content       = $_REQUEST['content'];
    $correction    = strtoupper($_REQUEST['correction']);
    $encoding      = $_REQUEST['encoding'];     
   
    $rootUrl = "https://chart.googleapis.com/chart?cht=qr&chs=$size&chl=$content&choe=$encoding&chld=$correction";     
  
    echo '<img src="'.$rootUrl.'">';

?>

Comments

Popular posts from this blog

Some mistakes to avoid while looking for a job

How to create test account in moneybookers.com

How Understanding Cloud Computing Saved a Million Dollars!