名称 | 必填 | 类型 | 说明 |
---|---|---|---|
text | 是 | string | 输入内容 |
二维码图片一张
<img src="http://xsdggw.cn/t/tool/api/api/qrcode.php?text=二维码内容" alt=""">
<?php $qq = $_GET['qq']; $src = "http://xsdggw.cn/t/tool/api/api/qrcode.php?text=".$qq .""; header('Content-type: image/png'); $res = imagecreatefromstring(file_get_contents($src)); imagepng($res); imagedestroy($res);
?>