Force pdf download htaccess






















Find centralized, trusted content and collaborate around the technologies you use most. Connect and share knowledge within a single location that is structured and easy to search. I need to make PDF files downloadable at this moment they are opening in a browser window.

As it looks like the server's end is doing the right thing by making the disposition "attachment" but maybe the browser is deciding on its own that it can handle PDF's inline and opens a new window instead.

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. Asked 7 years, 2 months ago. Active 6 years, 7 months ago. Viewed 2k times. Improve this question. For me this is annoying to the extreme because the PDF file is openened directly in your browser because of the Adobe PDF Plugin that almost all browsers have installed. If the PDF is multi-page or a larger file my browser takes forever to load and render the PDF and sometimes even freezes!

The solution I came up with is really nice, and will work for all. It is a secure and robust solution to my pet peeve. Feel free to add any ideas or improvements using the comment form below. Learn more. Ask your own question or write your own article on askingbox. Reply Positive Negative. About the Author The author has not added a profile short description yet. Change uppercase and lowercase Writing of multiple Files Tutorial 0 Comments. Participate Login Register Ask Question.

Info User Top Donate Advertise here.



0コメント

  • 1000 / 1000