I haven't tried this personally, but according to 

http://www.php.net/manual/en/function.fopen.php

you can open the standard streams as php://stdin and php://stdout, which
should allow you to read and write to the user directly.

- Tim

On Mon, 2001-08-20 at 12:14, Bill Brigden wrote:
> Hi all,
> 
> How could I use a script on the console - to interact, and take the users
> input. Like a shell/perl script - but in php?
> 
> Bill.
> 
> 
> 



-- 
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