Last updated: May 8, 2007
These tests use spoof vCards, so please don’t try to use them for contacting anyone.
Does not get parsed as a vCard by some browsers (e.g. Firefox).
If you don’t have access to your php.ini file, this is most useful. Uses the following code in an htaccess file:
<Files ~ "\.vcf$">
ForceType text/x-vcard
</Files>
These tests use a line of PHP to send the correct text/x-vcard content-type:
<?php header('Content-Type: text/x-vcard; charset=utf-8'); ?>
Gets parsed as PHP but doesn’t have the correct file extension. Not ideal.
Oops! This will not be parsed as PHP!
A very round–about way of doing things!