Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Internet Explorer Download Problems


clp698

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...