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

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top