File download

vikas's Avatar, Join Date: May 2007
Light Poster
I have a link to text file which is on my server. When the user clicks on the link the textfile simply displays in a new window.
What i want to happen is that the file is able to be downloaded to the users machine.

How do i set this up?
pradeep's Avatar, Join Date: Apr 2005
Team Leader
Add a content-disposition headaer, using .htaccess if you are using Apache server!