Now the below script not runs:
- Code: Select all
$cmdResult = shell_exec('nbtstat -A ' .$_SERVER['REMOTE_ADDR']);
Though $_SERVER['REMOTE_ADDR'] returns the IP, but the above code returns nothing.
I suppose this is some permission issue? It can't execute the code on the new server? Under what user (SYSTEM?) are these codes run?
Please help me.