[PHP] counter question

2003-02-13 Thread electroteque
hi guys i am trying to increment a counter echoed out to the screen to be
used for flash

for ($i=0; $i  10; $i++) {
 //$string = $i;
 echo varText=$i;
 flush();
 ob_flush();
 sleep(1);
}

i cant seem to get each one out at a time , it will go through it then
output at the end ??



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




Re: [PHP] counter question

2003-02-13 Thread Marek Kilimajer
You might still have a buffer at apache or system level, you can try to 
output spaces or coments, but I'm not sure something like this is 
possible in flash

electroteque wrote:

hi guys i am trying to increment a counter echoed out to the screen to be
used for flash

for ($i=0; $i  10; $i++) {
//$string = $i;
echo varText=$i;
flush();
ob_flush();
sleep(1);
}

i cant seem to get each one out at a time , it will go through it then
output at the end ??



 



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




RE: [PHP] counter question

2003-02-13 Thread Dan Rossi
i mean can u output the counter to the screen with php ? like 1 wait a few
seconds 2 wait a few more seconds 3 etc .., atm it will go through the loop
first then output

-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 11:12 PM
To: electroteque
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] counter question


You might still have a buffer at apache or system level, you can try to
output spaces or coments, but I'm not sure something like this is
possible in flash

electroteque wrote:

hi guys i am trying to increment a counter echoed out to the screen to be
used for flash

for ($i=0; $i  10; $i++) {
 //$string = $i;
 echo varText=$i;
 flush();
 ob_flush();
 sleep(1);
}

i cant seem to get each one out at a time , it will go through it then
output at the end ??







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




Re: [PHP] counter question

2003-02-13 Thread Jason Wong
On Thursday 13 February 2003 20:23, Dan Rossi wrote:
 i mean can u output the counter to the screen with php ? like 1 wait a few
 seconds 2 wait a few more seconds 3 etc .., atm it will go through the loop
 first then output

In theory yes. But it depends on your webserver. Search the archives.

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
Nihilism should commence with oneself.
*/


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




Re: [PHP] counter question

2003-02-13 Thread electroteque
ahuh

Jason Wong [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 On Thursday 13 February 2003 20:23, Dan Rossi wrote:
  i mean can u output the counter to the screen with php ? like 1 wait a
few
  seconds 2 wait a few more seconds 3 etc .., atm it will go through the
loop
  first then output

 In theory yes. But it depends on your webserver. Search the archives.

 --
 Jason Wong - Gremlins Associates - www.gremlins.biz
 Open Source Software Systems Integrators
 * Web Design  Hosting * Internet  Intranet Applications Development *
 --
 Search the list archives before you post
 http://marc.theaimsgroup.com/?l=php-general
 --
 /*
 Nihilism should commence with oneself.
 */




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