RE: [PHP] html output from system() command

2002-12-06 Thread Charles Bronson
If you try viewing the source of the webpage it will probably show up correctly. If this is the case, try putting the output into a variable and passing it to the nl2br() function. Echo nl2br($commandoutput); And/or make your way to http://www.php.net/manual/en/function.nl2br.php Bronson_AT_uda

Re: [PHP] html output from system() command

2002-12-06 Thread Chris Shiflett
--- Clay Stuckey <[EMAIL PROTECTED]> 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