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
header('Content-disposition: attachment; filename=NAME_OF_YOUR_FILE');