- 授权协议: GPL
- 开发语言: C/C++ PHP
- 操作系统: 跨平台
- 软件首页: https://github.com/bingzhenwang/exqrcode
- 软件文档: https://github.com/bingzhenwang/exqrcode
- 官方下载: https://github.com/bingzhenwang/exqrcode
软件介绍
一个php扩展,调用libqren库,生成二维码图片,可以生成一般文本、url、短信息、电话、电子名片等。
安装环境:linux,php5.3
外部库支持libqrencode,libpng
使用方法:
$instance = new ExQrcode();
//ExQrcode::QRLEVEL_L
//ExQrcode::QRLEVEL_M
//ExQrcode::QRLEVEL_Q
//ExQrcode::QRLEVEL_H
$instance->setLevel(ExQrcode::QRLEVEL_H);
$instance->setSize(7);
//$instance->setDpi(72);
$instance->encodeGeneral("hello world");
var_dump($instance->writeToFile("/tmp/qrgeneral.png"));
$instance->encodeUrl("http://www.baidu.com");
var_dump($instance->writeToFile("/tmp/qrurl.png"));
$arr = array("N" => "name","TEL" => "13900000000","EMAIL" => "email"
, "ADDR" => "address" ,"URL" => "http://www.helloworld.com");
$instance->encodeMECard($arr);
var_dump($instance->writeToFile("/tmp/qrmecard.png"));
$instance->encodePhone("13900000000");
var_dump($instance->writeToFile("/tmp/qrphone.png"));
$instance->encodeSMS("message subject","message content");
var_dump($instance->writeToFile("/tmp/qrsms.png"));
欢迎各位测试。
Two Scoops of Django
Daniel Greenfeld、Audrey M. Roy / CreateSpace Independent Publishing Platform / 2013-4-16 / USD 29.95
Two Scoops of Django: Best Practices For Django 1.5 is chock-full of material that will help you with your Django projects. We'll introduce you to various tips, tricks, patterns, code snippets, and......一起来看看 《Two Scoops of Django》 这本书的介绍吧!
CSS 压缩/解压工具
在线压缩/解压 CSS 代码
SHA 加密
SHA 加密工具
