<?php    

    
    include "qrlib.php";    

    
    $filename = 'test.png';
    
  
    $errorCorrectionLevel = 'L'; // 'L','M','Q','H'
    
    $matrixPointSize = 4; // max 10

    QRcode::png('naresh lakhara', $filename, $errorCorrectionLevel, $matrixPointSize, 2);    
    
    //display generated file
    echo '<img src="'.basename($filename).'" /><hr/>';  
    
    