force download

In your HTML directly link to the file which is to be downloaded. i.e. <a href="………/files/somefile.pdf">Download Pdf</a>. You will get a pop-up box asking whether you want to save the file or open it normally. Now you want to download it so open .htaccess file and write there some lines according yo your requirement mentioning […]