I'm trying to write a script to restart my wamp server with the click of a button. I am trying to use
exec("c:\\\\wamp\wampmanager.exe -restart");
to run the command. Seems to be not working. I have used system(), and passthru(); functions to get the results I am looking for but got null results. Could anyone point me in the right direction?