Re: html output from system() command
| From: | Chris Shiflett | Date: | Fri, 06 Dec 2002 20:41:19 +0000 |
| Subject: | Re: html output from system() command | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-127324@lists.php.net to get a copy of this message | ||
--- Clay Stuckey <tcs@chacity.org> wrote:
> When I execute:
> system('who');
>
> I get the output to the screen but it is all concatenated
> together like this:
> root pts/0 Dec 6 15:31 (34-218-228-130.arpa.kmail.net)
> sneakytrick pts/1 Dec 6 10:22
> (34-218-228-130.arpa.kmail.net)
>
> How can I make it look like:
> root pts/0 Dec 6 15:31 (34-218-228-130.arpa.kmail.net)
> sneakytrick pts/1 Dec 6 10:22
> (34-218-228-130.arpa.kmail.net)
Try surrounding it with <pre> tags.
Chris