I want to make some kind of php program which could be accessed on server A, when executed it would copy a file to server B and execute that file, that's all. Currently I am working with cpanel/whm and I could use the root user and pass or the users account user and pass to do this, whichever is easier. Any help on this?
You mean by server, they are different virtual server on the same machine? If they are you need permissions on both directories. If they are not, you will need something like ftp.
Thanks, I figured it out using the ftp up command in php and then after that I used the <form action=""> method to make the file execute on the server.