clp698 Posted August 21, 2006 Share Posted August 21, 2006 When I use IE for downloading MP3 files, the header contains the OSC product # (530) instead of the actual file name (98TS187.mp3) and the file is never downloaded. Firefox has the MP3 filename in the header and downloads the file. Below is the code in the catalog/download.php file. // Now send the file with header() magic header("Expires: Mon, 26 Nov 1962 00:00:00 GMT"); header("Last-Modified: " . gmdate("D,d M Y H:i:s") . " GMT"); header("Cache-Control: no-cache, must-revalidate"); header("Pragma: no-cache"); header("Content-Length: " . filesize(DIR_FS_DOWNLOAD . $downloads['orders_products_filename'])); header("Content-Type: audio/mpeg"); header("Content-Disposition: attachment; filename=\"" . $downloads['orders_products_filename'] . "\""); Anyone have a solution for this? I have had to send many emails to customers telling them to use Firefox instead of Internet Explorer. Link to comment Share on other sites More sharing options...
clp698 Posted August 21, 2006 Author Share Posted August 21, 2006 Actually it is not the product number that is sent, but rather the orders_products_download_id from the products_attributes_download file. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.