$filename="setup.exe"; header("Content-Disposition: attachment; filename=$filename"); readfile("taxapp.exe");
All browsers working fine, except Mozilla, which wants to download 'setup.exe.php' instead of 'setup.exe'
Anyone have a clue?😕
i have seen this happen before, it happens on the mac sometimes for zipped and stuffed files, all i have to do is replace the .php with the ext that it was supposed to be, then it works fine
That works, but is there a way to get it to not append the .php extension in the download dialog so that the user does not have to manually adjust the filename?
not that i know of
Alright, thanks for the information, and for stopping me from banging my head against the wall trying to make it stop forcing the ext on the name