Sending custom files as attachments.

A

Anonymous

Guest
I learned the answer to this just last week from Joan. According to this page, you have to use the Content-Disposition header in addition to your Content-type header:

Code:
<?
header("Content-Disposition: attachment; filename=myfile.hibt");
?>
 
Back
Top