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
You have to add a header to force the download.
header("Content-Disposition: Attachment") header("Content-Disposition: Attachment;filename=FILENAME_HERE")
from http://www.symkat.com/force-download-with-http-headers