Re: [PHP] ob_flush() problems

2006-05-31 Thread Richard Lynch
On Wed, May 31, 2006 1:36 pm, Brad Bonkoski wrote: > PHP is a server side scripting language, so the information would not > be > sent to the browser( aka client) until the server side script has > completed its execution. This is just plain incorrect. While buffering within various pieces of sof

Re: [PHP] ob_flush() problems

2006-05-31 Thread Richard Lynch
On Wed, May 31, 2006 1:29 pm, cajbecu wrote: > for ($i=0; $i < 10; $i++) { > $output = "ccc2"; > print ""; > echo $output; > print ""; > ob_flush(); > flush(); > > sleep(1); > } > > I want to show on the browser, "ccc2" (example) every

Re: [PHP] ob_flush() problems

2006-05-31 Thread Adam Zey
Brad Bonkoski wrote: cajbecu wrote: Hello, for ($i=0; $i < 10; $i++) { $output = "ccc2"; print ""; echo $output; print ""; ob_flush(); flush(); sleep(1); } I want to show on the browser, "ccc2" (example) every 1 second, but it shows al

Re: [PHP] ob_flush() problems

2006-05-31 Thread Brad Bonkoski
cajbecu wrote: Hello, for ($i=0; $i < 10; $i++) { $output = "ccc2"; print ""; echo $output; print ""; ob_flush(); flush(); sleep(1); } I want to show on the browser, "ccc2" (example) every 1 second, but it shows all the text when the fo

[PHP] ob_flush() problems

2006-05-31 Thread cajbecu
Hello, for ($i=0; $i < 10; $i++) { $output = "ccc2"; print ""; echo $output; print ""; ob_flush(); flush(); sleep(1); } I want to show on the browser, "ccc2" (example) every 1 second, but it shows all the text when the for stops... any idee