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

"Liam Mackenzie" <[EMAIL PROTECTED]> wrote in message
003c01c1a970$986e47c0$0700a8c0@enigma">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




-- 
PHP General Mailing List (http://www.php.net/)
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