Re: hide system output from header
| From: | Todd Pasley | Date: | Fri, 30 Aug 2002 09:16:30 +0000 |
| Subject: | Re: hide system output from header | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-114623@lists.php.net to get a copy of this message | ||
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" <mark@itouchlabs.com>
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
>