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
>
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`"
2 matches
Mail list logo