Reply to Re: [PHP] Printing to a buffer

Your name:

Reply:


Posted by Jasper Bryant-Greene on 11/13/05 21:27

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:
>>
>>>> seem 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.
>>
>>
>> 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.
>>
>> Marcus
>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация