Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Perl (http://www.programmingforums.org/forum21.html)
-   -   Creating a vCard (http://www.programmingforums.org/showthread.php?t=13954)

Ade Sep 12th, 2007 10:58 AM

Creating a vCard
 
Hi,

I have read how to create a vCard using...

:

my $name = "vcard.vcf";

open (VCARD,">$name");
print VCARD "BEGIN:VCARD\n";
print VCARD "VERSION:2.1\n";
print VCARD "N:Hennegar;Anne;;;";
print VCARD "END:VCARD\n";
close (VCARD);


My question is how do I have a link on my page that will create a vCard on the fly from the LDAP record queried by a user. I guess I could create the vCard somewhere on the server and then make the link available but how can i delete that vCard file once it is deleted?

Sorry for noob questions, if there's something simple I've missed and you feel I should research please point me in the direction.

Many thanks
ade


All times are GMT -5. The time now is 3:00 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC