> 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
> 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
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
> 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
4 matches
Mail list logo