how to force the user to download a file, not to view it?

Posted by Starx on Stack Overflow See other posts from Stack Overflow or by Starx
Published on 2010-05-13T10:25:55Z Indexed on 2010/05/13 10:34 UTC
Read the original article Hit count: 220

I have a download page where i have kept musics, pictures, ebooks and etc. Whenever users click at the image it opens it, and same things happen with .pdf files if the user has installed pdf reader on their PC?

I dont want them to open the file but to download it? Any ideas

© Stack Overflow or respective owner

Related posts about php

Related posts about web-development