Re: Printing to a buffer
| From: | Jasper Bryant-Greene | Date: | Sun, 13 Nov 2005 19:27:29 +0000 |
| Subject: | Re: Printing to a buffer | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-225699@lists.php.net to get a copy of this message | ||
Todd Cary wrote:
Marcus - Many thanks! I did not know that MIME-Type. Change duly made!You're not suggesting that you actually set the MIME-Type to application/force-download, are you?
Todd Marcus Bointon wrote:On 13 Nov 2005, at 00:17, Jasper Bryant-Greene wrote:Quite - it's right up there with 'application/force-download'. If you want to suggest (the final choice is not yours to make) that a browser might download something instead of displaying it, set an appropriate content-disposition header instead of setting the wrong type. Marcusseem to do that. I just tried "application/text" since I use "application/pdf" for other applications.Whatever it's giving the user the ability to do, it's probably because the browser doesn't recognise the (invalid) MIME-Type.