Closed Thread Icon

Topic awaiting preservation: On downloading files from a database/ auto generated vcard? Pages that link to <a href="https://ozoneasylum.com/backlink?for=29490" title="Pages that link to Topic awaiting preservation: On downloading files from a database/ auto generated vcard?" rel="nofollow" >Topic awaiting preservation: On downloading files from a database/ auto generated vcard?\

 
Author Thread
paritycheck
Bipolar (III) Inmate

From: you tell me
Insane since: Mar 2004

posted posted 09-02-2007 10:35

OK... my programs set up to create little vcards for download. So what I do is that I've made a special page which is called whenever someone clicks on the link for viewing or downloading a vcard and basically all that page contains are code to create a stream and then passes headers for download. What I was wondering is if its possible that instead of having to link to a seperate page to do all this is it possible to do the same by linking to same page and putting the code for the headers on the same page? I tried it but its not working...

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 09-03-2007 10:29

sure, just make sure not to output anything before seinding the headers - but why would you want to do this?

« BackwardsOnwards »

Show Forum Drop Down Menu