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()
>
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php