如何在二维码库php中设置link
How do i set link in QrCode library php
很简单,可能会问之前,我不知道...在我的网站中我集成了Qrcode库(PHP)我想将Qr图像的link设置到我的网站Here是我的代码。
QRcode::png('Hello World', $filename, $errorCorrectionLevel, $matrixPointSize, 2);
echo '<img src="'.$PNG_WEB_DIR.basename($filename).'" /><hr/>';
你的帮助会很大appreciated.Thanks
知道了,只需在 png() 函数的第一个参数中传递 link。
QRcode::png('http://www.example.com', $filename, $errorCorrectionLevel, $matrixPointSize, 2);
echo '<img src="'.$PNG_WEB_DIR.basename($filename).'" /><hr/>';
感谢整个 stackover flow 社区
很简单,可能会问之前,我不知道...在我的网站中我集成了Qrcode库(PHP)我想将Qr图像的link设置到我的网站Here是我的代码。
QRcode::png('Hello World', $filename, $errorCorrectionLevel, $matrixPointSize, 2);
echo '<img src="'.$PNG_WEB_DIR.basename($filename).'" /><hr/>';
你的帮助会很大appreciated.Thanks
知道了,只需在 png() 函数的第一个参数中传递 link。
QRcode::png('http://www.example.com', $filename, $errorCorrectionLevel, $matrixPointSize, 2);
echo '<img src="'.$PNG_WEB_DIR.basename($filename).'" /><hr/>';
感谢整个 stackover flow 社区