header("Content-Disposition: attachment; filename= mail.rtf")

  • Thread starter Thread starter Kj
  • Start date Start date
K

Kj

I have made an Internet page where it is possible to open
Word and insert text from a database into the document
with the following function.

header("Content-Disposition: attachment; filename=
mail.doc")

This works fine in Word 2000, but when I open this in Word
97 the HTML code shows up. Is there any way to solve this
problem?
 
Back
Top