I have a MSWord document with some macros in it. My task is to make a FAQ with standard letters in a database and transfer them to a MS Word document.
Is it posible to save a MSWord document on the server and transfer it to the user with the answer to the question he/she seeks.
I have tryed to use;
header("Cache-control: private"); // another fix for IE
header("Content-Disposition: attachment; filename= mail.doc");
echo "htmlspecialchars (stripslashes($s['answere']))";
However this makes a new file called mail.doc in Word.
I have tryed to search for some script that makes it possible to specify the MSWord file I want to use, but have not found it.
Any suggestions???
Kj.