You are here: Re: Sending Partial Pages? « PHP Programming Language « IT news, forums, messages
Re: Sending Partial Pages?

Posted by Hero Wanders on 10/21/02 11:25

Hello!

> I'd like to make a page with a sort of check list as it works.
>
> I.e. CHECKING FOR FILE... SUCCESS then a few seconds later it sends
> OPENING HANDLE... SUCCESS, etc.
>
> But since PHP is server-side pause() wouldn't work... it only delays
> the script from assembling the page before it sends it to the browser.
> Can I send pieces at a time so I can get this sort of checklist effect
> instead of waiting 20 seconds for it all to appear at once?

Why do you want to use a pause() function (actually sleep())?
I think the script should be executed as fast as possible.
If your script is slow you may use this sequence to flush everything:

flush();
ob_flush();

Using only flush() which seems (without trying) sufficient does not work
(when I tried it).

HTH
Hero Wanders

 

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

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