Why, if I directly link the * .exe file as follows:
<a href="http://download.domain.com/setup.exe">Download setup</a>
I donβt get the IE9 message: βThis type of file may harm your computerβ, and when the next approach to the PHP file comes up, a message appears?
header("Content-type:application/octet-stream");
header("Content-Disposition: attachment; filename=setup.exe");
readfile("http://download.domain.com/setup.exe");
Thank.
source
share