iarp Posted April 24, 2008 Share Posted April 24, 2008 Hey, I know i could just make a script that allows people to download things, but if i directly link a .exe every browser tries to view it as a page and it can't be downloaded at all. Any clues? Quote Link to comment https://forums.phpfreaks.com/topic/102641-downloading-exes/ Share on other sites More sharing options...
pickled Posted February 6, 2009 Share Posted February 6, 2009 Hey, I know i could just make a script that allows people to download things, but if i directly link a .exe every browser tries to view it as a page and it can't be downloaded at all. Any clues? I'm a bit vague on this as it's been a while since I've needed to do this. I think you have to set the configuration for the folder and .exe's for what kind of header to send. The browser is getting the data and doesn't know what to do with it, which is why it's just displaying it. It needs the proper headers. (MIME type, etc) I can't remember the right ones you need for it atm though. Quote Link to comment https://forums.phpfreaks.com/topic/102641-downloading-exes/#findComment-756179 Share on other sites More sharing options...
pickled Posted February 6, 2009 Share Posted February 6, 2009 http://www.phpfreaks.com/forums/index.php/topic,95433.0.html Quote Link to comment https://forums.phpfreaks.com/topic/102641-downloading-exes/#findComment-756239 Share on other sites More sharing options...
onthink Posted March 5, 2009 Share Posted March 5, 2009 reasonable. Quote Link to comment https://forums.phpfreaks.com/topic/102641-downloading-exes/#findComment-777496 Share on other sites More sharing options...
corbin Posted March 5, 2009 Share Posted March 5, 2009 Errr.... hate to be a dick, but why did you bump this a month to say reasonable with a ton of little smiley faces? Quote Link to comment https://forums.phpfreaks.com/topic/102641-downloading-exes/#findComment-777740 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.