jkkenzie Posted September 16, 2010 Share Posted September 16, 2010 pdf open with browser automatically, is there a way we can make links to a pdf file JUST download like other files on a browser. Link to comment https://forums.phpfreaks.com/topic/213552-pdf-link/ Share on other sites More sharing options...
trq Posted September 16, 2010 Share Posted September 16, 2010 Not with html. You would need to use a server side language like php to force a download. There is an example of such a script within the FAQ/Code Snippet Repository. Link to comment https://forums.phpfreaks.com/topic/213552-pdf-link/#findComment-1111623 Share on other sites More sharing options...
Miss_Rebelx Posted September 16, 2010 Share Posted September 16, 2010 Try putting it in a zip file (yay for compressing it at the same time)! Otherwise, it might be a browser setting? Haven't looked around but it's what I would look for. Link to comment https://forums.phpfreaks.com/topic/213552-pdf-link/#findComment-1111765 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.