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`";
exec($cmd);

-- 
Best regards,
 rdkurth                          mailto:[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to