Hi all
How do you restart a server remotely. I need to be able to restart a program running as a server on a remote machine, using IP and port if possible. I have read about the proc_open etc. But I dont understand it at all.

Thank you.

My hobby project: www.badassstats.com

    Thank you for your advice. Thats the exact same thing I have been looking at, only I cant get it to work. It might be because I dont understand the code needed. I need to issue an IP adress or a name, possibly a port, user name and a password to the script. Then have the script reboot a game server. Not the computer itself but the game. Has any of you tried to do that?

      Does anybody have a tutorial for the use of exec();

      Apparently a lot of people are struggling with the execution of external programs.

        The comments at the bottom of [man]exec[/man] cover it quite well'

        exec('/command/here');

        Replace /command/here with the particular command needed to restart your game service.

          Write a Reply...