Re: Re: Browser displays blank page, while request still being handled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 9, 2006 1:59 pm, Rolf Wouters wrote:
> What are you looking at?  Repeated calls to the same piece of
> php-script.
> If you look at the column labeled "Content type", you see that there
> are
> 2 results: "text/html" and "application/x-unknown-content-type (the
> ones
> that are crossed-out should be ignored).  The latter are the ones that
> only gave me a blank page as result.  The "text/html" responses are
> the
> correct ones.

Did the "application/x-unknown-content-type" scripts take longer to
complete?  How long?

Run your script from wget and see if you actually are getting
Content-type: application/x-unknown-content-type from the server, or
if that's just the browser's interpretative dance around a missing
Content-type: (grrr!)

One hack you might consider, for IE browser:

Changing your script to copyme.htm will, in some cases, convince IE
that it really *IS* an HTML file.

See, MS IE doesn't actually believe in Content-type: header, because
they assume web-developers are idiots, and don't send the right
header.  So MS IE looks at the URL and the data and "guesses" at the
content type (and the Charset).

For reasons known only to Bill Gates, however, MS IE *does* believe
META tags about content-type and charset, because, apparently, web
Designers *DO* know what they are doing and those META tags are always
right. [sheesh!]

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux