Re: [PHP] Re: [PHP-DB] force to download file

2007-12-18 Thread Richard Heyes
i have this on top of my php page: header(Content-Type: application/vnd.ms-excel); header(Content-Disposition: inline; filename=excelfile.xls); but it is not prompt to save the file instead it opens right in IE. my question is how do i force the browser prompts to save the file? ?php

[PHP] Re: [PHP-DB] force to download file

2007-12-17 Thread Daniel Brown
On Dec 17, 2007 3:13 PM, Hiep Nguyen [EMAIL PROTECTED] wrote: hi all, i have this on top of my php page: header(Content-Type: application/vnd.ms-excel); header(Content-Disposition: inline; filename=excelfile.xls); but it is not prompt to save the file instead it opens right in IE. my