|
Posted by Ivαn Sαnchez Ortega on 02/05/06 04:21
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
laredotornado@zipmail.com 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@hotmail.com
Jabber:ivansanchez@jabber.org ; ivansanchez@kdetalk.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFD5WEd3jcQ2mg3Pc8RAmTYAKCGY+TA69OKHG7zif8FAXqMR1FcjwCeJj2T
eK3T8VsBXFhybNR0Q0Y2+YM=
=OBm2
-----END PGP SIGNATURE-----
[Back to original message]
|