Thanks for the input. Both methods are to have the file displayed in the browser window. But this is not what I meant. When a user clicks the link, I want a file download dialogue window to pop up, so the user can save this file to the local computer. This automatically happens when the file is a .tar.gz type file. But if the file is a .txt file, it's displayed in the browser window. So is there a way not to have the .txt file displayed but to pop up a file download dialogue window when the link is clicked?
Thanks