------------------------------------
1. Test, QR code generation, scan after the appearance of the screen
A. For example, using QQ to scan the information can be directly added to the contact, this should be QQ scan QR code after processing,
B. If scanning, then the scanned content only the corresponding text information, not processed, can not call the phone system's contact software
2. Business Card Code:
PHP generates business cards:
$vname = ' Test ';
$vtel = ' 13800000000 ';
Generateqrfromgoogle ($vname, $vtel);
function Generateqrfromgoogle ($vname, $vtel, $widhtHeight = ' Max ', $EC _level= ' L ', $margin = ' 0 ')
{
if ($vname && $vtel) {
$chl = "begin:vcard\nversion:3.0". vcard Header information
"\NFN: $vname".
"\ntel: $vtel".
"\nend:vcard"; vcard Tail Information
Echo ';
}
}
?>
PHP generated URL qr code:
$url = "http://www.google.com.hk";
Generateqrfromgoogle ($url);
function Generateqrfromgoogle ($chl, $widhtHeight = ' Max ', $EC _level= ' L ', $margin = ' 0 ')
{
Echo ';
}
?>
------------------------------------------------------------------------
http://www.bkjia.com/PHPjc/755790.html www.bkjia.com true http://www.bkjia.com/PHPjc/755790.html techarticle ------------------------------------1. Test, QR code generation, scan after the appearance of a. For example, with QQ words scanned information, can be added directly to the contact, which should be ...