4.3.2

Ray Hunter wrote:
Technically, yes it should however, I think this is a bug...are you running
php 5b?

--
BigDog


----- Original Message ----- From: "John Nichel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 05, 2003 9:07 PM
Subject: [PHP] Command line php....




Can someone tell me why php waits for me to input something before it
prints out the first line of the code below?  Shouldn't it echo out the
first line then wait for my input?

#!/usr/local/bin/php
<?php

echo ( "Enter MySQL admin username : [root] " );
$username = rtrim ( fgets ( STDIN ) );
echo ( "\n\n\nThe username is...." . $username . "!!!!\n\n" );

?>


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php









--
By-Tor.com
It's all about the Rush
http://www.by-tor.com


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to