Posted by Rik on 10/08/43 11:51
Ian Davies wrote:
> Just tried the sleep function it doesnt seem to work
> code as follows
>
> echo "$prog_msg";
> sleep(1);
> echo "$prog_msg2";
>
> The two messages appear at the same time. am i using this function
> correctly Thought it might not be long enough delay but same result
> with sleep(10); Ian
Perhaps:
echo "$prog_msg";
flush();
sleep(10);
echo "$prog_msg2";
If that doesn't work, look at the comments in
http://www.php.net/manual/en/function.flush.php
Grtz,
--
Rik Wasmus
[Back to original message]
|