Re: Can I do this? header("Content-type: text/rtf");
| From: | David Otton | Date: | Thu, 20 Feb 2003 14:10:14 +0000 |
| Subject: | Re: Can I do this? header("Content-type: text/rtf"); | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-136357@lists.php.net to get a copy of this message | ||
On Thu, 20 Feb 2003 03:42:14 -0500, you wrote:
>I'm using PHP & MySQL to generate a RTF document. I use this header:
>
>header("Content-type: text/rtf");
Sorry, I should have mentioned
header("Content-Disposition: attachment; filename=myfile.rtf");
as well. Rather easier :)