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
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 question is how do i force the browser prompts to save the file?
: [PHP-DB] force to download file
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 question is how do i force
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
,
Lasitha
-Original Message-
From: Hiep Nguyen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 18, 2007 12:14 AM
To: php-db@lists.php.net
Subject: [PHP-DB] force to download file
hi all,
i have this on top of my php page:
header(Content-Type: application/vnd.ms-excel);
header(Content