Yes. you can fopen php://stdin
On Saturday 24 November 2001 06:29 pm, you wrote: > Can I write a command line PHP script like the following: > > php -q test.php > > Output: > > ================== > 1)choice A > 2)choice B > 3)choice C > > Please enter an option: 1 > ================== > > Thanks. > > David -- 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]