Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Irritating problem with the Download Products function.


greree

Recommended Posts

I just looked up the statistics for browser usage as of February 1st, and MSIE is used 96% of the time, while Netscape use is roughly 2%, but this still bugs me. When I use Netscape to download a product, the filename is unreal.zip.php. For some reason I can't figure out, Netscape adds the extension php to the end of the file name. MSIE downloads fine. I get unreal.zip when I use MSIE. Anyone have any clue why? I'm planning on making a million dollars a year with my store, and 2% is $20,000. That's a lot. Anyone? Anyone?

Link to comment
Share on other sites

Ignore this complaint. It isn't an osCommerce bug. It's a Netscape bug. The workaround is to right click on the download link and then choose "Save Link Target As". I'll just have to add that in my download instructions.

Link to comment
Share on other sites

New workaround. For those who offer ONLY zipped files for download and want the download function to work on 100% of all web browsers rather than 96%, go to /catalog/download.php and change line 91 from header("Content-Type: Application/octet-stream"); to header("Content-type: application/x-zip-compressed"); There are probably ways to make it work for different types of files, but for now I'm only going to offer zipped files for download, so this will work for me.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...