Re: preventing buffered output
- From: Iván Sánchez Ortega <i.punto.sanchez--@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 05 Feb 2006 03:21:17 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
laredotornado@xxxxxxxxxxx wrote:
What directives/headers can I add to my PHP page so that output is
displayed on my HTML browser as it is received as opposed to waiting to
receieve it all and then displaying it? Ideally, this solution would
work for PC IE 6, Firefox, and Safari,
Aside from flushing he buffer, you should care about how the different
browsers render the page.
In particular, you can run into problems if you are using MSIE, and if your
data is inside some tables. IIRC, MSIE will wait until the inner elements
of the table have been fully loaded, in order to calculate its geometry
(width and height), and render it.
Step away from using complicated table-based HTML layouts, and try to use
CSS-based layouts, and absolute positioning. You will surely see that some
layouts render more quickly than others.
- --
- ----------------------------------
Iván Sánchez Ortega -i-punto-sanchez--arroba-mirame-punto-net
http://acm.asoc.fi.upm.es/~mr/ ; http://acm.asoc.fi.upm.es/~ivan/
MSN:i_eat_s_p_a_m_for_breakfast@xxxxxxxxxxx
Jabber:ivansanchez@xxxxxxxxxx ; ivansanchez@xxxxxxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFD5WEd3jcQ2mg3Pc8RAmTYAKCGY+TA69OKHG7zif8FAXqMR1FcjwCeJj2T
eK3T8VsBXFhybNR0Q0Y2+YM=
=OBm2
-----END PGP SIGNATURE-----
.
- References:
- preventing buffered output
- From: laredotornado
- preventing buffered output
- Prev by Date: Re: Editing a string to add a \ before a '
- Next by Date: Problem with AND &
- Previous by thread: Re: preventing buffered output
- Next by thread: Re: preventing buffered output
- Index(es):
Relevant Pages
|