摘要: ob_end_clean(); ob_start(); //读取图像到缓冲区 imagepng(imagecreatefrompng('.'.$code_path)); //得到当前缓冲区的内容并删除缓冲区内容 $content = ob_get_clean(); //销毁图片 if(file_ex 阅读全文
posted @ 2020-07-10 17:00 makalo 阅读(487) 评论(0) 推荐(0)
摘要: 说明 packagist 的 地址:https://packagist.org/packages/dh2y/think-qrcode 这里给出packagist 是因为 如果有think其他版本或者用其他方式使用可以去看。 下面只给出tp5.1的使用 think-qrcode扩展安装 thinkph 阅读全文
posted @ 2020-07-10 11:56 makalo 阅读(4519) 评论(0) 推荐(0)