Hi
I have written a pgsql backended php4 application allowing the upload and download of files to and from the database (storing them as large objects).
The problem I have is that to download a file I have to link to a download.php?currentFileID=x page and then change the header of the loaded php page to make the browser download a specified mimetype (i.e. the header says msword97.doc file and then the object is streamed from the database as the rest of the page).
My problem is how can I make the remote browser name this file as something other than download.doc? The browser takes the name of the page...
Thanks in advance for any help you can give me!
Regards
/Simon