for a SHELL SCRIPT using php binary:

in bash I would do this:

#!/bin/bash
echo -n "username: "
read username
echo -n "password: "
read password
echo $username
echo $password

Run on the command-line, it would stop and ask me for the username and 
password, then continue the bash shell script.

But in PHP, how would I prompt someone at the command-line for input?


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to