A real simple question...
| From: | Liam MacKenzie | Date: | Wed, 30 Jan 2002 09:29:18 +0000 |
| Subject: | A real simple question... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-82693@lists.php.net to get a copy of this message | ||
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