File download

Light Poster
27Jun2007,13:59   #1
vikas's Avatar
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?
Team Leader
27Jun2007,14:22   #2
pradeep's Avatar
Add a content-disposition headaer, using .htaccess if you are using Apache server!