Linked by Thom Holwerda on Tue 19th May 2009 21:03 UTC
General Development Learn how to better integrate scripts with command-line tools. Examine using shell_exec(), exec(), passthru(), and system(); safely passing information to the command line; and safely retrieving information from it. See how to integrate closely with underlying shell commands and folding any return values into your interfaces and processes.
Permalink for comment 364715
To read all comments associated with this story, please click here.
Member since:

Our CMS has a CLI based interface that authenticates users based on their unix account (the web app stores an optional unix account name in the user record) so you can execute commands with the same permissions you could via the web interface.

Comes in very handy, especially for cron integration.

Reply Parent Score: 2