Posted By

Awilum on 01/05/10


Tagged


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

netzwerktourist
BrianCoyDesign


Download


 / Published in: PHP
 

Simple download :)

  1. function download($filename,$content) {
  2. header("Content-Type: application/octet-stream");
  3. header("Content-Disposition: attachment; filename={$filename}");
  4. echo $content;
  5.  
  6.  
  7. }

Report this snippet  

You need to login to post a comment.