Hello All, In process of collecting date from multiple sites I hit upon this requirement.
Is it possible to include perl/shell commands, like, rsh, in php code and utilize the output from these commands ?
TIA, RAM
Hello!
Take a look at the exec functions, namely exec(), system() and passthru(). http://www.php.net/exec
Just remember, that everything you run will be run as the same user that runs apache (probably "nobody") so if it requires any sort of priveleges, you may have some trouble 🙂