Have you tried this? Worked for me on IIS 6...

<?php


static $i = 0;
while ($i < 10) {
        ++$i;
        echo "$i\n\n";
        sleep(1);
        ob_flush();
}

?> 

-Zeb Bowden


-----Original Message-----
From: Jason Barnett [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 27, 2004 3:11 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Output Control

OK, that's news to me.  Could you help explain this to the class?  And 
yes, I've put in some effort trying to understand this already :)  Every

time I execute a script (a la Apache) I don't get any output until 
execution finishes.

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to