dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: [RESOLVED] How to make PDF only downloadable?

  1. #1
    Join Date
    Mar 2007
    Location
    Cotswolds, England
    Posts
    105

    resolved [RESOLVED] How to make PDF only downloadable?

    Hi,

    is there away mechanism to make a PDF downloadable only, even if they have a reader installed and associated with the PDF extension?

    I have created 2 PDF files through PDF995, one is viewable and the other is not when I click the link to the PDF file.

    Thanks,

    Barton.

  2. #2
    Join Date
    Mar 2005
    Location
    Sydney, Australia
    Posts
    7,974
    Set Content-Disposition: attachment in the headers passed with the file.

  3. #3
    Join Date
    Mar 2007
    Location
    Cotswolds, England
    Posts
    105

    Exclamation

    Spot-on!!!

    Many, many thanks for saving my bacon....

    Barton

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles