thanks to all its working now
> Michael P. Carel wrote:
> > When I do this:
> > > $ps = (passthru("ps -ef)); ?>
> >
> >
> >
> >
> >
> >
> > I can also see the HTML code, i need to put the output inside the
table.
> > Is there any solution for this?
> >
>
> Just remove first line of
Michael P. Carel wrote:
When I do this:
I can also see the HTML code, i need to put the output inside the table.
Is there any solution for this?
Just remove first line of Your code or replace 'text/plain' with
'text/html'.
And put inside -tags, as anwsered previously.
--
Pavel a
gt; - Original Message -
> From: "Michael P. Carel" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, October 06, 2003 12:51 PM
> Subject: Re: [PHP] ps command in php
>
>
> > I'm doing like this:
> > $ps = (passthru("ps -e
your question has already been answered:
use:
echo " $ps ";
It should definitely help
Nitin
- Original Message -
From: "Michael P. Carel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 06, 2003 12:51 PM
Subject: Re: [PHP] ps comman
>my output is something like this:
>UID PID PPID C STIME TTY TIME CMD root 1 0 0 Sep19 ? 00:00:04 init [3] root
>2 1 0 Sep19 ? 00:00:00 [kflushd] root 3 1 0 Sep19 ? 00:00:09 [kupdate] root
>
>any idea?
Yeah, see David Otton's response, or look at the HTML source of your
output.
-
I'm doing like this:
$ps = (passthru("ps -ef));
echo $ps;
my output is something like this:
UID PID PPID C STIME TTY TIME CMD root 1 0 0 Sep19 ? 00:00:04 init [3] root
2 1 0 Sep19 ? 00:00:00 [kflushd] root 3 1 0 Sep19 ? 00:00:09 [kupdate] root
4 1 0 Sep19 ? 00:00:00 [kpiod] root 5 1 0 Sep19 ? 00
>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.
What do you mean by 'scrambled'? The following works for me:
echo '', `ps -ef`,
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 br
8 matches
Mail list logo