PHP基础课程PHP如何生成二维码?

网友解答: https://sourceforge.net/projects/phpqrcode/files/releases/下载phpqrcode库,然后引用它。一个例子:<?

网友解答:

https://sourceforge.net/projects/phpqrcode/files/releases/

下载phpqrcode库,然后引用它。一个例子:

<?php include('../lib/full/qrlib.php');

QRcode::png('这里输入网址或者文字');

http://phpqrcode.sourceforge.net/examples/index.php

很容易的,就几行代码。

标签: