?

Search Help Board

PHP FAQ
PHP Articles
PHP Help
Bulletin Board

PHP Manual (NEW!)
First Time PHP'ers
Help with programming
Sql assignment help
PHP Homework Help


C# Help

?
?php flush() function problem
Author:??(---.wlink.com.np)
Date:???09-22-03 22:00

Hey all,
I gotta problem while using flush function.
I had tried in iexplore and netscape.it will simply store all content in buffer and print at last.It don't perform as i want.




dummy sample code looks like below
//simulate long calculation
//flush output buffer with each step
for($n=0; $n<5; $n++)
{
print("Calculating...
\n");
flush();
sleep(3);
}
print("Finished!
\n");
?>

if any body knows the reason please let me know...
thanks in advance
uday

?Topics Author? Date
?php flush() function problem??new
http://www.uday.com.np/php 09-22-03 22:00?
Go to Top??|??Go to Topic??|??Flat View??|??Search?
??|??
New Topic
?Reply To This Message
?Your Name:
?Your Email:
?Subject:
Email replies to this thread, to the address above.
??wrote: > > Hey all, > I gotta problem while using flush function. > I had tried in iexplore and netscape.it will simply store all > content in buffer and print at last.It don't perform as i want. > > > > > dummy sample code looks like below > //simulate long calculation > //flush output buffer with each step > for($n=0; $n<5; $n++) > { > print("Calculating...
\n"); > flush(); > sleep(3); > } > print("Finished!
\n"); > ?> > > if any body knows the reason please let me know... > thanks in advance > uday ">??

Provided By
Phorum