0

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.

kiler129
  • 1,063
  • 2
  • 11
  • 21
  • Possible duplicate of [C++ Linux named pipe hanging on open() with O\_WRONLY](https://stackoverflow.com/questions/24099693/c-linux-named-pipe-hanging-on-open-with-o-wronly) – garlix Nov 24 '17 at 07:53

1 Answers1

0

See http://php.net/fopen , http://php.net/fprintf , http://php.net/fwrite and http://php.net/fclose .

user502515
  • 4,346
  • 24
  • 20