[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: parsing command line output to html through php




On Fri, Mar 10, 2000 at 06:18:38PM -0600, Charles Menzes wrote:
> 
> I am playing around with using php to pass command line output into an
> html document. For example, displaying the output of the "w" command to a
> web page. 
> When I do this, and have multiple people logged in, the output is not
> diplayed in rows as it is from the command prompt, but is written as a
> single line in the html doc. Is there a simple manner of correcting this?

Wrap the w output in <PRE> tags.


--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.