Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Sending Partial Pages?
September 1, 2005, 3:26 am
rate this thread
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?
I'm thinking it's not possible, but I'm by no means a php expert.
Re: Sending Partial Pages?
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:
Using only flush() which seems (without trying) sufficient does not work
(when I tried it).