Im trying to connect to remote server and execute script there.
I try with program psexec. :
$command ="psexec \\10.13.10.2 -u fishiscsi\pizda -p materna ping 10.13.10.6" ;
system($command);
It connects but I only get a begining of ping command :
Pinging 10.13.10.6 with 32 bytes of data:
End then the connection is closed by php. If I try this in command promt it works fine...
Help! How do I tell to php to wait for results??