That's the way
echo system("/usr/local/misc/ftpusers");

"Liam Mackenzie" <[EMAIL PROTECTED]> wrote in 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:
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!


PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to