Re: ps command in php
| From: | David Otton | Date: | Mon, 06 Oct 2003 07:17:31 +0000 |
| Subject: | Re: ps command in php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165149@lists.php.net to get a copy of this message | ||
On Mon, 6 Oct 2003 14:55:56 +0800, you wrote:
>I'm trying to have the output of the "ps -ef" command in Linux to my
>browser. Can anyone help how to properly have the output in proper format.
>I've used the passthru() function but the output is scrambled.
Scrambled how, exactly? Remember, your browser is expecting HTML.
Personally, I'd try adding a Content-Type: text/plain header before the
output...