RCON Command through PHP file - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: RCON Command through PHP file (
/showthread.php?tid=654709)
RCON Command through PHP file -
Vennox - 03.06.2018
Hello, i wonder if i can get
this(click) in a php file.
For example, if i go to the link
http://www.mywebsite.com/rconcmd/gmx or something like that, it will send the 'gmx' command into the rcon console and restart the server from that link. It is possible?
Re: RCON Command through PHP file -
Stefand - 04.06.2018
You will need SSH or something for that, I suggest using discord connector to use !restart or anything in a special channel.
Re: RCON Command through PHP file -
jasperschellekens - 04.06.2018
OMG how hard is it to search? i found this in 2 seconds:
https://sampforum.blast.hk/showthread.php?tid=104299
Im annoyed by how people are to lazy to search for anything because 'someone else will search it for me'