You can use exec($command, $result);
which will throw any stdout output into $result Im not sure if it works with stderr as well, you will have to try it :) Todd. ----- Original Message ----- From: "Mark" <[EMAIL PROTECTED]> To: <> Sent: Friday, August 30, 2002 7:06 PM Subject: [PHP] hide system output from header > i execute a system function which works great only prob is it breaks the > header so what i need to know is how i can prevent the output from this and > append it to a variable, i allready tried appending to variable but still > outputted > Regards > Mark > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php