- Aug 16, 2002
- 680
- 0
- 0
So I'm working on a project that basically needs to download a cloned copy of some PHP source files in a directory. I *could* rename the extensions on the server side then rename them on the client side, but that seems highly inefficient.
I was thinking I could use an SSH socket within PHP and send commands that way, but I have no idea how to go about working out that communication. I notice that fopen() can support SSH wrappers with an extension, but we're running the client on standalone Windows/Apache machines so we can't exactly recompile PHP.
Any thoughts?
I was thinking I could use an SSH socket within PHP and send commands that way, but I have no idea how to go about working out that communication. I notice that fopen() can support SSH wrappers with an extension, but we're running the client on standalone Windows/Apache machines so we can't exactly recompile PHP.
Any thoughts?