SyntaxFix
Write A Post
Hire A Developer
Questions
Use the ssh2 functions. Anything you'd do via an exec() call can be done directly using these functions, saving you a lot of connections and shell invocations.
ssh2