Is there any way I can run remote executable sitting on a unix box from a linux php webserver using a php script? (both boxes are on the same LAN and I would rather not run something like XML-RPC)
with exec() you can start any un*x command you like, including RPC commands.
Question is: do you really want your webserver (security risk #1) to be able to execute commands on remote servers?
Thanks vincent - at the moment we are just assessing what is possible so security is not that much of a concern.
I have been using exec to run local commands but am only able run remote *nix commands through a c script.