You are here: Re: preventing buffered output « PHP Programming Language « IT news, forums, messages
Re: preventing buffered output

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-----

 

Navigation:

[Reply to this 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

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