Question

I am trying to add the website URL to business card.I have created the vCard string and the business card is generating with image. All that is left is the website URL.

The string I am generating is :

$vcard = 'BEGIN:VCARD
VERSION:2.1
N:'.$attendee['name'].'
FN:'.$attendee['name'].'
ORG:'.$attendee['organization'].'
TITLE:'.$attendee['title'].'
TEL;WORK;VOICE:'.$attendee['phone'].'
EMAIL;PREF;INTERNET:'.$attendee['email'].'
PHOTO;ENCODING=BASE64;TYPE=JPG:'.$image.'
REV:20080424T195243Z


END:VCARD';
Était-ce utile?

La solution

I think you can do it like this:

URL;type=pref:http\://www.example.com
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top