[GLLUG] [OT]PHP Coding Question

Mike Szumlinski szumlins@pilot.msu.edu
Tue, 8 Oct 2002 09:50:26 -0400


Hmm...only problem is that the vcard is generated in the same script as 
a the validation schemes for the form and the database input.  Its just 
one huge script.  Any ideas how to write the header to the vCard using 
the fwrite function?

-Mike
On Saturday, October 5, 2002, at 02:29  AM, Benjamin Minshall wrote:

> <?php
>    header( "Content-type: text/x-vcard" );
>    print "...vcard contents...\n";
> ?>