Re: [PHP] "DF" output

2001-03-28 Thread Steven Shepherd
ronment var doesn't include /sbin or /usr/sbin. > > Test w 'ls' see if you can get a directory listing, at least? > > "Steven Shepherd" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Brad, >

Re: [PHP] "DF" output

2001-03-27 Thread Steven Shepherd
exec calls, you have to use the back tick > method. > > > Steven Shepherd <[EMAIL PROTECTED]> wrote: > Bad example (changed to ps and it works actually..but i dont want 'ps', I > want 'top'). Ran top using su to the user 'www' from the comm

Re: [PHP] "DF" output

2001-03-27 Thread Steven Shepherd
: Joe Brown <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: [PHP] "DF" output > > nobody has execute permission on ps? > > Probably quite the opposite, your webserver user doesn't have execute > permission on ps, so there is no execution or retu

[PHP] "DF" output

2001-03-27 Thread Steven Shepherd
I am writing a script, actually modifying PhPSysInfo to include the top processes used on a machine. So far, no matter what I do, I can only get it to work via the command line. I get a blank screen when trying it via the browser: Tried this: