php-general | 2001032
Date: 03/24/01
- Next message: Jack Dempsey: "RE: [PHP] Delaying Printed Output"
- Previous message: JJeffman: "[PHP] Re: [PHP-DB] connection id"
- In reply to: KPortsmout <email protected>: "Re: [PHP] Delaying Printed Output"
- Next in thread: Jack Dempsey: "RE: [PHP] Delaying Printed Output"
- Reply: Jack Dempsey: "RE: [PHP] Delaying Printed Output"
- Reply: CC Zona: "Re: [PHP] Delaying Printed Output"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> You can use the following commands:
>
> sleep(seconds);
> usleep(microseconds);
I've tried those 2 functions, in an example like this:
PRINT "This<br>";
SLEEP(2) ;
PRINT "Is a<br>";
SLEEP(2);
PRINT "TEST";
But the way it works in the browser is to wait for a total of 4 seconds
and then it displays all the text at once, not one line at a time -
which is what I'm after.
Greg
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Jack Dempsey: "RE: [PHP] Delaying Printed Output"
- Previous message: JJeffman: "[PHP] Re: [PHP-DB] connection id"
- In reply to: KPortsmout <email protected>: "Re: [PHP] Delaying Printed Output"
- Next in thread: Jack Dempsey: "RE: [PHP] Delaying Printed Output"
- Reply: Jack Dempsey: "RE: [PHP] Delaying Printed Output"
- Reply: CC Zona: "Re: [PHP] Delaying Printed Output"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

