No, i'm not talking about a Content-Disposition problem but i am using a CD script. Currently in IE5+ when forcing a download users click a link and the "File Download" box opens giving the user the option of either "Saving the file to Disk" or "Open from current location". If possible, I'd like to eliminate that "Opening" posibilty all together and make the file download to their desktop or some default location on their harddrive. If not possible, I'd like to immediately go to that "Save As" window that normally preceeds the "Save This File to Disk" option on the "File Download" box.
Any ideas on how to do this?
I've seen the Save As pop up in front of the File Download box immediately at different websites using PHP
here is the code being used:
header("Content-type: application/octet-stream");
header("Content-Disposition: attachment; filename = $filename");
header("Content-Transfer-Encoding: binary");
readfile ("$filepath");