Re: [PHP] Need direction on PHP-CLI MUD Server

2004-09-03 Thread Jim Grill
> Unfortunately, since they are coming in through a socket and not actual > telnet/ssh I don't think $fp=fopen("/dev/stdin", "r"); works? Isn't that > only for terminal based input? > > Donald Myers oops... forgot this: http://www.php.net/manual/en/ref.pcntl.php Jim Grill > > > on 9/2/04 10:31

Re: [PHP] Need direction on PHP-CLI MUD Server

2004-09-03 Thread Jim Grill
> Unfortunately, since they are coming in through a socket and not actual > telnet/ssh I don't think $fp=fopen("/dev/stdin", "r"); works? Isn't that > only for terminal based input? > > Donald Myers Have you tried it? Every process will have access to its own STDIN and STDOUT. since your MUD serv

Re: [PHP] Need direction on PHP-CLI MUD Server

2004-09-02 Thread Don Myers
Unfortunately, since they are coming in through a socket and not actual telnet/ssh I don't think $fp=fopen("/dev/stdin", "r"); works? Isn't that only for terminal based input? Donald Myers on 9/2/04 10:31 AM, Jim Grill at [EMAIL PROTECTED] wrote: >> Hello, I have been banging my head trying to

Re: [PHP] Need direction on PHP-CLI MUD Server

2004-09-02 Thread Jim Grill
> Hello, I have been banging my head trying to figure out how to design a MUD > Server using PHP-CLI as the server and PHP-CLI as the "command" language. > (telnet front end at this point) > > but > > The real problem is full interaction with the user in those external > commands (php-cli scrip