------------------------------------
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 '';
}
?>
------------------------------------------------------------------------