i am executing script file through php as
shell_exec(sh script.sh)
script.sh is the name of the script file. This script is used to transferring file say 'abc' to remote machine. When I execute script file through terminal as
./script.sh
it successfully transfer file to remote machine but when execute same script file through php it could not transfer file to remote.Any suggestions are welcome...