force to download file

From: Date: Mon, 17 Dec 2007 20:13:45 +0000
Subject: force to download file
Groups: php.db 
Request: Send a blank email to php-db+get-44421@lists.php.net to get a copy of this message
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? thanks

« previous php.db (#44421) next »