Re: [PHP] ob_start: Capturing STDOUT and STDERR

2008-03-23 Thread Casey
On Sun, Mar 23, 2008 at 6:08 PM, Greg Sims <[EMAIL PROTECTED]> wrote: > Hey There, > > I looked at the ob_start manual and found a segment of code that can be used > to capture the output of a shell script and place it into a log file. One > of the entries indicates this should work for both ST

[PHP] ob_start: Capturing STDOUT and STDERR

2008-03-23 Thread Greg Sims
Hey There, I looked at the ob_start manual and found a segment of code that can be used to capture the output of a shell script and place it into a log file. One of the entries indicates this should work for both STDOUT and STDERR (29-Mar-2007). I wrote the following piece of code to test it out