I'm making a word solver and I'm trying to get access to the argument put in prior to the vertical bar | , which has a php command afterwards.
I would be running a command like "echo –e “word game” | php wordsearch.php table.txt", for example. I want to get the contents of echo so I can run the contents and try to find them in a table of words, like the word search game.
In other words, I need to retrieve the "echo -e "word game" part so I can use it in the wordsearch.php program.