Is this normal? I have: #!/usr/local/php_4.2.3/bin/php -q <?php
error_reporting(E_ALL); echo "\n\nAttach code? > "; $f = fopen("php://stdin","r"); $data = fread($f,5); fclose($f); echo "\n\n$data\n\n"; ?> And it refuses to echo "Attach code?" until after I hit 5 keys on the console and hit enter, when infact it is supposed to be a prompt for the 5 keys (ie, display before you enter the keys) Is this expected? If yes, any workaround?. Adam Voigt [EMAIL PROTECTED] -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php