PHP RCON Login & Commanding - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: PHP RCON Login & Commanding (
/showthread.php?tid=180431)
PHP RCON Login & Commanding -
Luka P. - 01.10.2010
Is it somehow possible to send a RCON command to the server using the PHP? Well I'm pretty sure it is possible with sockets, but I don't know how to auth on the server.
Re: PHP RCON Login & Commanding -
Scenario - 01.10.2010
Do you mean like if your host allows you to send commands to your console? Something like that?
Re: PHP RCON Login & Commanding -
Luka P. - 01.10.2010
Yeah
The message you have entered is too short. Please lengthen your message to at least 8 characters.
Re: PHP RCON Login & Commanding -
Silent314 - 01.10.2010
https://sampforum.blast.hk/showthread.php?tid=104299
Re: PHP RCON Login & Commanding -
Scenario - 01.10.2010
Does
this help at all? I know it's similar to what you want, but I think you would have to "hard-code" everything into the PHP script. I don't actually know how to "integrate" an RCON console into a PHP script like they do at Volt-Host or ServerFFS. I'll ask my developer though, he's good at that stuff!
Re: PHP RCON Login & Commanding -
Luka P. - 01.10.2010
Huh, that just retrieves data [server variables] from the server.
Re: PHP RCON Login & Commanding -
Claude - 01.10.2010
This could be a possible way;
Upload rcon.exe to a hash map, like "5Dp9mQpam29nbnspqDJTN", this makes it unable to connect.
And since bron readers can't read PHP, its protected, than add:
PHP код:
<?php
header(Location: url=5Dp9mQpam29nbnspqDJTN/rcon.exe);
?>
* Not sure if this works, but it might be something like this
Re: PHP RCON Login & Commanding -
Luka P. - 01.10.2010
Thanks! I've actually established a RCON connection with the server but I am unable to send any command.
Re: PHP RCON Login & Commanding -
Claude - 01.10.2010
Make sure you enter the correct password & server ip, and makes sure you uploaded the latest rcon.exe