Jump to content
Killersites Forums

webdevcloud

New Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by webdevcloud

  1. The simple linking may not always work if user has a adobe plugin installed in browser. It will then show the PDF inside the browser instead of giving the download prompt. You will need to add some htaccess directive in that case. Add the following in the .htaccess file on server.

    <FilesMatch "\.(?i:pdf)$">

    ForceType application/octet-stream

    Header set Content-Disposition attachment

    </FilesMatch>

×
×
  • Create New...