Re: Re: Need direction on PHP-CLI MUD Server

From: Date: Thu, 02 Sep 2004 09:01:36 +0000
Subject: Re: Re: Need direction on PHP-CLI MUD Server
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-195521@lists.php.net to get a copy of this message
On Thu, 02 Sep 2004 10:16:26 +0300, Pavel Jartsev <papi@digitalfruit.ee> wrote: > Don Myers wrote: > > ... > > > > B. Since the PHP-CLI script never ends how can I send the first echo "You > > have..."? > > Maybe flush() helps. > http://www.php.net/manual/en/function.flush.php I always add the following line to the top of all my CLI scripts to turn off output buffering... while (@ob_end_flush()); -- Stut

« previous php.general (#195521) next »