RE: Output Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:jasbarne@xxxxxxxxxxx] 
Sent: Thursday, May 27, 2004 3:11 PM
To: php-windows@xxxxxxxxxxxxx
Subject: Re:  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



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux