Php learning notes --- PHP generates a QR code business card and adds the business card content to the contact. ---------------------------------- 1. after testing, the QR code is generated and a is displayed after scanning. for example, if you use qq to scan the information, you can directly add it to the contact. This should be ------------------------------------
1. tested, generated the QR code, and scanned the images.
A. For example, if you use qq to scan the information, you can directly add it to the contact. This should be done after qq scans the QR code,
B. If scanning is performed, only the corresponding text information is scanned and not processed. The Contact Software of the mobile phone system cannot be called.
2. Business card code:
Php generates business cards:
$ Vname = 'test ';
$ Vtel = '000000 ';
GenerateQRfromGoogle ($ vname, $ vtel );
Function generateQRfromGoogle ($ vname, $ vtel, $ widhtHeight = '000000', $ EC_level = 'l', $ margin = '0 ')
{
If ($ vname & $ vtel ){
$ Chlorophyll = "BEGIN: VCARD \ nVERSION: 3.0". // vcard header information
"\ NFN: $ vname ".
"\ NTEL: $ vtel ".
"\ NEND: VCARD"; // vcard tail information
Echo '';
}
}
?>
Php generates the url qr code:
$ Url = "http://www.google.com.hk ";
GenerateQRfromGoogle ($ url );
Function generateQRfromGoogle ($ chlorophyll, $ widhtHeight = '000000', $ EC_level = 'l', $ margin = '0 ')
{
Echo '';
}
?>
------------------------------------------------------------------------
Http://www.bkjia.com/PHPjc/755790.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/755790.htmlTechArticle ---------------------------------- 1. tested, generated by the QR code, scan after the screen a. for example, the use of qq words scan information, can be directly added to the contact, this should be...