| Contact_Vcard_Parse | How Data Is Returned |
| Contact_Vcard_Parse | |
| PEAR Manual | |
Here are some quick instructions for the impatient. :-)
Download and un-compress Contact_Vcard_Parse from the PEAR archive.
Include Contact_Vcard_Parse.php in your PHP script.
Instantiate a new Contact_Vcard_Parse object.
Use the fromFile() method to parse any file which may have one or more vCards in it; try the sample.vcf file for a start. Contact_Vcard_Parse should work with both 2.1 and 3.0 vCard files.
Use print_r() to view the resulting array of data from the parsed file.
Do what you want with the data, such as insert into a table.
Example code
|
| Contact_Vcard_Parse | How Data Is Returned |
| Contact_Vcard_Parse | |
| PEAR Manual | |