If the web browser tries to open PDF documents directly instead of saving them, try putting this in the .htaccess file on the server:
<Files *.pdf> ForceType application/pdf Header set Content-Disposition attachment </Files>
These are simply tricks I've learnt during my years as a web developer. They may not be the best solutions. Please e-mail me any bugfixes or improvements to these examples. Thank you.