<?php include "phpqrcode.php";//引入PHP QR库文件 $value="http://www.csdn.net"; $errorCorrectionLevel = "L"; $matrixPointSize = "4"; QRcode::png($value, false, $errorCorrectionLevel, $matrixPointSize); exit; ?>