At 15:13 14.11.2002, Javier Montserat spoke out and said:
>I'm using this code to various files for download via a http header -
>$filename = basename($filepath);
>header("Content-type: unknown/unknown");
>header("Content-Disposition: attachment; filename=$filename");
>works fine in most cases - the save dialogue appears.  However -
>IE on a MAC loads the file inline rather than throwing the save prompt.

Try the "application/octet-stream" content type. Any browser should ask to
save this.

   >O Ernest E. Vogelsinger 
   (\) ICQ #13394035 

Reply via email to