qrgen.php (312B)
1 <?php 2 include ('phpqrcode/qrlib.php'); 3 //include ('res/phpqrcode/phpqrcode.php'); 4 $sid = $_GET['sid']; 5 $url = 'http://surveyseahorse.com/takesurvey.php?sid=' . $sid; 6 $qrcode = QRcode::png($url, false, QR_ECLEVEL_L, 10); 7 //QRcode::png('test', '/usr/local/www/nginx/test.png'); 8 //echo '<img src="test.png" />'; 9 ?>