AnaMaria yeah, but otherwise this problem can't be resolved for all user at same time This must be a matter of http headers. Community Bot 1 1 1 silver badge. Armel Larcier Armel Larcier This is not a code issue.
It is your default IE settings To change the " always open " setting: In Windows Explorer, click on the "Tools" menu, choose "Folder options" In the window that appears, click on the "File Types" tab, and scroll through the list until you find the file extension you want to change they're in alphabetical order.
For example, if Internet Explorer always tries to open. Click on the file type, then the "Advanced" button. AnaMaria AnaMaria 3, 3 3 gold badges 17 17 silver badges 36 36 bronze badges. The OP can't do this for all the users though.
This fix only works for him, not all the people using his web page. Its the most common text I see when I download my illegal music.
AnaMaria Thats kind of letting the end users know that you have a limited functionality. I want my download to be supported in all browsers. Zip your file. Jason Jason 11 5 5 bronze badges. Bud Damyanov Bud Damyanov You could configure this in your http-Header httpResponse. Stimpson Cat Stimpson Cat 1, 15 15 silver badges 40 40 bronze badges.
Your answer doesn't reference the language or platform this works with. I tried it in JavaScript and httpResponse isn't defined. The most common causes of Internet Explorer crashes like this are toolbars, add-ons, or Browser Helper Objects. Enter Internet options in the search box, and then tap or select Settings. In the search results, tap or select Internet Options. Tap or select the Advanced tab and then tap or select Reset. Select the Delete personal settings check box if you would also like to remove browsing history, search providers, Accelerators, home pages, Tracking Protection, and ActiveX Filtering data.
To delete all personal settings, tap or select the checkbox for Delete personal settings. Type inetcpl. This is not an option, the file is shared via direct link. No renaming can happen. No one is visiting the site at all. Just viewing a file to approve a training session.
Not ideal for external team members, but it is a work around. Office Office Exchange Server. Not an IT pro? Resources for IT Professionals. Sign in. United States English. Ask a question. Quick access. Search related threads. For some reason, changing settings in WordPress would sometimes cause a change in the.
This would cause the server to burp at every PHP request thereafter and attempt to serve the file instead of handle it.
The solution, then, was to manually remove the handler that was automatically added to the. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Browsers try to download html file instead of opening Ask Question.
Asked 6 years, 11 months ago. Active 3 years, 4 months ago. Viewed 33k times. Contact html code. Improve this question.
0コメント