can you prompt for variables in command-line CGI?

From: Date: Sun, 26 Aug 2001 23:49:49 +0000
Subject: can you prompt for variables in command-line CGI?
Groups: php.general 
Request: Send a blank email to php-general+get-64555@lists.php.net to get a copy of this message
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?

« previous php.general (#64555) next »