![]() Topic awaiting preservation: On downloading files from a database/ auto generated vcard? (Page 1 of 1)  | 
  |
|---|---|
| 
       Bipolar (III) Inmate From: you tell me  | 
    
       
  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...  | 
  
| 
       Maniac (V) Mad Scientist with Finglongers From: Germany  | 
    
       
  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?  |