[PHP] pipes and PHP (CGI/shell)

2001-03-09 Thread Cymen Vig
How can I get PHP to talk to pipes? I know fopen can use php://stdin but can it also use named pipes (I think I want named pipes, not positive though)? Perl: $voice_rfd = new IO::Handle; $voice_rfd->fdopen( $ENV{VOICE_INPUT}, "r" ); PHP: $in = "php://" . getenv( "VOICE_INPUT" ); $fd_in = fope

[PHP] pipes and PHP (CGI/shell)

2001-03-09 Thread Cymen Vig
How can I get PHP to talk to pipes? I know fopen can use php://stdin but can it also use named pipes (I think I want named pipes, not positive though)? Perl: $voice_rfd = new IO::Handle; $voice_rfd->fdopen( $ENV{VOICE_INPUT}, "r" ); PHP: $in = "php://" . getenv( "VOICE_INPUT" ); $fd_in = fope