Alibabacloud.com offers a wide variety of articles about business card with qr code template, easily find your business card with qr code template information here online.
Directly look at the code. This is the code in thinkphp to generate a QR code {code ...} this is the code amp; lt; body amp; gt; amp; lt; divclass quot; img quot; amp; gt; amp; lt; imgalt quot;
What is a business card for micro-letter two-dimensional code?
Two-dimensional code is a form of information, with a certain geometry of a certain pattern in the plane (two-dimensional direction) distribution of Black-and-white graphics data symbol information.
The micro-letter two-dimensional
color$flieName = ' liukelk.jpg ';//two-dimensional code nameSave ($flieName) $qrCode;//Generate two-dimensional codeNote: If the label is garbled in Chinese, the Chinese font can be introduced.Generated (slightly)650) this.width=650; "src=" Http://www.thinkphp.cn/Uploads/editor/2017-05-25/592673416d33c.jpg "alt=" 592673416d33c.jpg "width=" height= "543"/>650) this.width=650; "src=" Http://www.thinkphp.cn/Uploads/editor/2017-05-25/5926734f79c93.png "a
Look directly at the code
This is the code in the thinkphp. Generate two-dimensional code
$model=M("member"); $rs=$model->where("tmId".$tmId)->find(); //生成二维码 vendor("phpqrcode.phpqrcode"); $path='public/qrcode/'; mkdir($path);
business card to get the original artwork
Parameter back: Callback interface,
Five, callback interface
1. Error message
Public interface Mkxerrorcode {
int code_success = 0;
int code_fail_result = 1; Result error
int code_fail_decode = 2;//JSON parsing error
int code_fail_null = 3;//network error, including 500 or 502 error
int Code_fail_timeo UT = 4; Connection Timeout
int code_fail_network = 5
Commemorative Album, photo book, personalized printing online DIY Mall Source Code 3.1 1. decompress the zip package to the root directory of the website (if there are other projects under this directory, create a folder and decompress it to the new folder );
2. access the root directory of the website and install it by following the steps (if the prompt is LINUX, insufficient permissions may be prompted. use the chmod command to modify the permiss
Include ("phpqrcode/phpqrcode.php");
$url = ' Begin:vcard
version:3.0
FN: Zhang San
Nickname:zhangsan
ORG: Level Limited Internet company
title:php Application Development Engineer
TEL; type=work:***44301
tel:158****4233
email:zhangsan@***.***.com.cn
End:vcard ';
QRCode::p ng ($url, "b.png");
?>
Copy CodeNote: The above method requires downloading Phpqrcode files.In addition, you can also use t
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.