Having trouble using the header() function
Posted on 2003-11-02
I want to setup 2 different pages that will be used for reading and downloading files. I'm not sure on how to use the header function to differentiate from reading and downloading, or if there is a better way to do this then i'm for that as well. The files will be a mixture of pdf files and msword files.
What i'm getting the user to do is pick the file they want to read or download and then open it in the browser for reading if that is what they chose or open up a save box if they want to download.
Hopefully i've explained this well enough
thanks in advance