surion Posted February 7, 2007 Share Posted February 7, 2007 currently i m writing a mailclient, when there is a file attached to the mail it has to be downloaded, i tested this with next 2 parts of scripts: first one: header("Content-Description: File Transfer"); header("Content-Type: application/octet-stream; name=\"".$filename."\""); header("Content-Disposition: attachment; filename=".basename($filename)); header("Content-Transfer-Encoding: binary"); second one: header("Content-Description: File Transfer"); header("Content-Type: application/force-download "); header("Content-Disposition: attachment; filename=".basename($filename)); header("Content-Transfer-Encoding: binary") ; they both work fine with Firefox (2.0), but neither works with IE (using IE7), any suggestions to make at least one of them work in IE7 as well? Link to comment https://forums.phpfreaks.com/topic/37469-download-script-for-mailclient-works-in-ff-not-in-ie-what-to-do/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.