Tag Archives: gaa

stdin, stdout, stderr with proc_open in PHP

Want to use PHP as part of your toolchain? It’s a bit painful. If you want to pipe in some data from memory, and read it back into memory (why not! using tmp files is for wimps). here’s the solution, thanks to richard at 2006 dot atterer dot net // $command is the command to   …Continue Reading