How to user fifo files in php? I want to control mplayer, I know how to pause file [using system("echo pause > /tmp/mplayer.fifo)] but I don`t know how to send command and read output using pure php.
Asked
Active
Viewed 748 times
1 Answers
0
See http://php.net/fopen , http://php.net/fprintf , http://php.net/fwrite and http://php.net/fclose .

user502515
- 4,346
- 24
- 20
-
Stuck where exactly? "After fopen" is as unspecific as you can get. – user502515 Dec 04 '10 at 03:58
-
@kiler129 See this https://stackoverflow.com/questions/24099693/c-linux-named-pipe-hanging-on-open-with-o-wronly/24099738#24099738 – garlix Nov 24 '17 at 07:54