Re: [PHP] storing errors from shell_exec command

2002-08-09 Thread Jason Wong
On Saturday 10 August 2002 04:14, [EMAIL PROTECTED] wrote: > I need to redirect the output from the shell_exec return variable to a > file. What I have below is not working. What I need to get from the > shell_exec is ant errors that happen and then I what to store those > errors in a error file >

[PHP] storing errors from shell_exec command

2002-08-09 Thread rdkurth
I need to redirect the output from the shell_exec return variable to a file. What I have below is not working. What I need to get from the shell_exec is ant errors that happen and then I what to store those errors in a error file $output=shell_exec($cmd); $cmd ="`$output > /usr/autoserv/errlog`"