diff --git a/Example3.0.vcf b/Example3.0.vcf index 7715b21..d0ee600 100644 --- a/Example3.0.vcf +++ b/Example3.0.vcf @@ -8,7 +8,8 @@ PHOTO;VALUE=URL;TYPE=GIF:http://upload.wikimedia.org/wikipedia/commons/thumb/a/a TEL;TYPE=WORK,VOICE:(111) 555-1212 TEL;TYPE=HOME,VOICE:(404) 555-1212 TEL;TYPE=HOME,TYPE=VOICE:(404) 555-1213 -ADR;TYPE=WORK:;;100 Waters Edge;Baytown;LA;30314;United States of America +ADR;TYPE=WORK:;extended;street 1;city;state;zip;country +ADR;TYPE=WORK:;appartement 1;100 Waters Edge;Baytown;LA;30314;United States of America LABEL;TYPE=WORK:100 Waters Edge\nBaytown, LA 30314\nUnited States of America ADR;TYPE=HOME:;;42 Plantation St.;Baytown;LA;30314;United States of America LABEL;TYPE=HOME:42 Plantation St.\nBaytown, LA 30314\nUnited States of America @@ -33,4 +34,4 @@ AGENT:BEGIN:VCARD REV:20080424T195243Z END:VCARD REV:20080424T195243Z -END:VCARD \ No newline at end of file +END:VCARD diff --git a/test2.php b/test2.php new file mode 100644 index 0000000..0169cc5 --- /dev/null +++ b/test2.php @@ -0,0 +1,12 @@ +getKeyList(); +foreach($keylist as $key => $val) +{ + printf("Properties:%s\n",$val); + print_r($vCard->$val); +}