Reply to Re: .php file extension in browsers

Your name:

Reply:


Posted by Malcolm Dew-Jones on 10/08/05 00:12

John Dunlop (usenet+2004@john.dunlop.name) wrote:
: Dikkie Dik wrote:

: > John Dunlop wrote:
: >
: > > http://msdn.microsoft.com/workshop/networking/moniker/overview/appendix_a.asp
: >
: > Thanks. This explains a lot.

: what, you mean, you understood that?? I salute you. it took me god knows
: how many readings just to get the gist of it.

: > I have written a translation script that will convert a HTML page to PML
: > (a plaintext format that can be converted to Palmreader documents).
: > However, as the first HTML tags were processed, IE kept displaying the
: > results as HTML, despite the header stating it was text/plain.
: > At some point during development, it got displayed as text.

: IE recognises text/plain as an 'ambiguous' type (although the doc does
: mention an exception, IE6 for XP SP2), so to disambiguate it it scans the
: contents (the first 256 bytes) and determines what it thinks should be the
: "true" type, and thus overrides your Content-Type header (step 2).

: Broken As Designed.


Which suggests another work around that be ok in some situations.

Simply insert a blank line at least 256 bytes/characters long at the top
of the text.


--

This programmer available for rent.

[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

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