PHP and Shell Scripting: Using Pipes
February 12, 2009[From PHPBuilder]
Following Darrell Brogdon's previous article on using PHP as a shell scripting language, this article covers some advanced uses of the language and shows some tricks that make PHP an extremely useful language to work with.
Unlike Darrel's article however, this one will also cover the Windows version of PHP as well as the Linux/Unix one. First, however, there are a couple of differences you need to be aware of.
The article continues at http://www.phpbuilder.com/columns/peter_shaw20090211.php3