Apr 13 at 4:04pm, Terence wrote: > <?php ob_end_flush(); > while (10==10) { // cool while loop > /* ... */ flush(); sleep(1); } ?>
Not sure I see the efficacy of this approach for the problem at hand, but what gets me is the cool while loop :) 10==10 is always going to evaluate true, and I realize that this is an infinite loop (until script times out) but why not just while(true) { } or, more commonly, while(1) { } ...? That's a rhetorical question, by the way :) --Kelly -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php