HI there
Im looking for some code that i can use that allows people to download a vcard from a html page
Same as here:http://www.hcp.com/content3765.html
Does anyone know how to do this??
Thanks
vcard
Moderator: General Moderators
Re: vcard
Something like this might be what your looking for: http://www.bitfolge.de/phpvcard-en.html
Re: vcard
Did you even try to figure this out on your own? It's a pretty simply task if you just do some research. I wouldn't try to do this with a client-side technology. Do it with PHP. Go read up on the format here:
Just to get your brain jump-started, download the vcard that you linked to (http://www.hcp.com/vcard/get.php/id/3765) and open it in a text editor. Use the output as a template to output the correct information.
Just to get your brain jump-started, download the vcard that you linked to (http://www.hcp.com/vcard/get.php/id/3765) and open it in a text editor. Use the output as a template to output the correct information.
Code: Select all
<?php
header("Content-type: text/x-vcard");
// now output your template here