Jump to content

Recommended Posts

  • 9 months later...

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.

Link to comment
https://forums.phpfreaks.com/topic/102641-downloading-exes/#findComment-756179
Share on other sites

  • 4 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.