Re: A real simple question...
| From: | Todor Stoyanov | Date: | Wed, 30 Jan 2002 12:38:27 +0000 |
| Subject: | Re: A real simple question... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-82725@lists.php.net to get a copy of this message | ||
That's the way
echo system("/usr/local/misc/ftpusers");
"Liam Mackenzie" <dj_phatt@vectorstar.net> wrote in message
news:003c01c1a970$986e47c0$0700a8c0@enigma...
Hey everyone,
Got a question...
How to I run a program and print it's output into a document?
For instance, I have a program called "ftpusers" and when run from a shell
like this:
/usr/local/misc/ftpusers
It will display a plain text list of people connected to my server.
How do I get PHP to call that program and print it's output into a webpage?
Thanks for your help!
Liam