Re: Console Behavior

From: Date: Thu, 31 Oct 2002 15:33:10 +0000
Subject: Re: Console Behavior
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-90381@lists.php.net to get a copy of this message
Now I have this, same behavior as before, maybe I'm using the flush function incorrectly but the manual seems to suggest this is the way to use it: #!/usr/local/php_4.2.3/bin/php -q <?php error_reporting(E_ALL); echo "\n\nAttach code? > "; flush(); $f = fopen("php://stdin","r"); $data = fread($f,5); fclose($f); echo "\n\n$data\n\n"; ?> On Thu, 2002-10-31 at 10:21, Rasmus Lerdorf wrote: > flush() >

« previous php.dev (#90381) next »