Hello,

There is a problème using firefox for download, you must use right click and save as (then rename the file).
I think there is some missing headers in your php file.

Something like this :

header("content-type: application/octet-stream");
header("Content-Disposition: attachment; filename=nameofthefile.zip");

Hope it will help.