php生成电子名片

<?php
// echo phpinfo();
include 'phpqrcode/phpqrcode.php';
$content = 'BEGIN:VCARD'."\n";
$content .= 'VERSION:2.1'."\n";
$content .= 'N:王'."\n";
$content .= 'FN:大锤'."\n";
$content .= 'ORG:风味信息技术有限公司'."\n";
$content .= 'TEL;WORK;VOICE:188688111'."\n";
$content .= 'TEL;HOME;VOICE:188688111'."\n";
$content .= 'TEL;TYPE=cell:17695089378'."\n";
$content .= 'ARD;HOME:;;育成中心二期;金凤区;银川市;433330;中国'."\n";

$content .= 'EMAIL:1375568288@qq.com'."\n";
$content .= 'URL:http://wangruqi.top'."\n";
$content .= 'END:VCARD'."\n";

QRcode::png($content);

王如棋博客
请先登录后发表评论
  • 最新评论
  • 总共0条评论