Hi all, i am working on an interface here at work and cannot get the following to work.
Any ideas greatfully appreciated !!.
As you can see the point of this is when the user hits the button it will reboot the machine. I have tried the “net rpc” command in putty and works as it should.
I have tried variations of echo shell_exec, shell_exec and exec but does not seem at tho the command is being passed to the command line.
Thanks all !!!