[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: parsing command line output to html through php
right on.
now, can you explain why i am unable to pass arguments to some commands
such as:
<PRE>
<? PassThru("du -sk ."); ?>
</PRE>
Does it need to be a relative path to the webserver root?
________________________
Lunar Media Incorporated
what a wicked web we weave
http://www.lunarmedia.net
1 . 8 0 0 . 2 5 2 . 8 2 2 1
On Fri, 10 Mar 2000, Jeff Licquia wrote:
>
> 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.
>
--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.