> I suppose I would have learned about that if
> I'd actually had some computer science courses, eh?
That is perfectly true on the other hand. ;)
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Wow, new tools for me to play with! I'm going to have to try this some
more later. I've only done a little bit of work with output buffering
and, quite frankly, I didn't even realize I could flush out data like
that. I mostly just have used output buffering to capture data before I
wanted to
Do you agree on that the purpose of flush is to send data (somewhere - not
specifying where right now) before the buffert been complelty
filled, i.e. empty the buffert in advance?
-Original Message-
From: Jason Barnett
To: [EMAIL PROTECTED]
Sent: 27-5-2004 21:11
Subject: Re: [PHP-WIN
ith IIS and buffering output,
but I don't know anything about Apache's buffering practices.
Hope this helps shed a little light on the situation.
> -Original Message-
> From: Jason Barnett [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 27, 2004 3:11 PM
> To:
Have you tried this? Worked for me on IIS 6...
-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 t
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
That's not completely true...
-Original Message-
From: Jason Barnett
To: [EMAIL PROTECTED]
Sent: 27-5-2004 20:59
Subject: Re: [PHP-WIN] Output Control
When PHP is used to serve pages it won't output anything until it is
completely finished with execution. If you're tr
When PHP is used to serve pages it won't output anything until it is
completely finished with execution. If you're trying to show 10 numbers
with a one second delay you'd probably need to use refresh tags and a
hidden field (or sessions) to loop back to the same page with each
"second". I.e.
I dont have any problem with flush()... ;)
-Original Message-
From: Luis Moreira
To: Svensson, B.A.T. (HKG)
Cc: '[EMAIL PROTECTED] '
Sent: 27-5-2004 15:39
Subject: Re: [PHP-WIN] Output Control
Svensson, B.A.T. (HKG) wrote:
>Are you trying to say that flush() does not work
Svensson, B.A.T. (HKG) wrote:
Are you trying to say that flush() does not work properly for you, i.e you
don't see the numbers comming one by one with a seconds delay, but get all
at once?
William,
If you go to www.php.net and look for "flush" you will see that the
problem you experience is
Are you trying to say that flush() does not work properly for you, i.e you
don't see the numbers comming one by one with a seconds delay, but get all
at once?
-Original Message-
From: William CANDILLON
To: [EMAIL PROTECTED]
Sent: 26-5-2004 17:34
Subject: RE: [PHP-WIN] Output Contr
I just want to see the numbers before 10 seconds in my browser like in shell
mod.
-Message d'origine-
De : Luis Moreira [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 26 mai 2004 17:21
À : William CANDILLON; [EMAIL PROTECTED]
Objet : Re: [PHP-WIN] Output Control
William CANDILLON
I just want to see the numbers before 10 seconds
-Message d'origine-
De : Luis Moreira [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 26 mai 2004 17:21
À : William CANDILLON; [EMAIL PROTECTED]
Objet : Re: [PHP-WIN] Output Control
William CANDILLON wrote:
>I want to execute my scr
William CANDILLON wrote:
I want to execute my script in a browser as with the shell mode.
Example:
static $i = 0;
while ($i < 10) {
++$i;
echo "$i\n\n";
sleep(1);
}
?>
I've tried this but it's doesn't work :
static $i = 0;
while ($i < 10) {
++$i;
echo "$i\n\n";
flush();
sleep(1);
}
?>
What exa
14 matches
Mail list logo