I do this:

<?php
$cmd = 'rsync -Razv file.php [EMAIL PROTECTED]::zone';
@exec($cms, $log, $ret);
?>

when an rsync error occure, if I run this script by a web server I get no output (errors go correctly into $log and $ret), while running the script in a console environment I get errors in the standard output even if I suppress them with "@".

anyone knows a workaround? is this a bug?

bye, alberto.

--
"Imagination is more important than knowledge"

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



Reply via email to