Re: sleep() function question

From: Date: Mon, 23 Jul 2001 01:38:24 +0000
Subject: Re: sleep() function question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-59113@lists.php.net to get a copy of this message
I know very little about PHP, but in other languages, what u describe happens because the webserver doesn't send the output until the excution is done... But you can make it write your output as its generated... check out the function "flush" also after 20seconds of looking, I found "ob_implicit_flush" that may help as well.. Hope I could help Andrew ----- Original Message ----- From: "drb" <farinspace@hotmail.com> To: <php-general@lists.php.net> Sent: Sunday, July 22, 2001 11:25 PM Subject: [PHP] sleep() function question > just wanted to make sure I was not doing anything incorrectly. > > I want to return some values to the screen and then sleep(), then return > more values. > It seems that nothing is returned till the sleep is over and then all the > values are returned at once. > > Is this the natural function of sleep(); > > thanks, > > DRB > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#59113) next »