<?php
	define('CURSCRIPT','qrcode');
	define('IN_MYMPS', true);
	require dirname(__FILE__)."/include/global.php";
    require MYMPS_INC."/qrcode/phpqrcode.php";  
    $value = isset($value) ? $value : "";
	$url = isset($url) ? base64_decode($url) : '';
	$size = isset($size)? $size : "5";
    $errorCorrectionLevel = "L";
	ob_clean();
    QRcode::png($url?$url:$value, false, $errorCorrectionLevel, $size);
    exit;
?> 