PHP RCON Login & Commanding
#1

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.
Reply
#2

Do you mean like if your host allows you to send commands to your console? Something like that?
Reply
#3

Yeah

The message you have entered is too short. Please lengthen your message to at least 8 characters.
Reply
#4

https://sampforum.blast.hk/showthread.php?tid=104299
Reply
#5

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!
Reply
#6

Huh, that just retrieves data [server variables] from the server.
Reply
#7

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
(Locationurl=5Dp9mQpam29nbnspqDJTN/rcon.exe);
?>
* Not sure if this works, but it might be something like this
Reply
#8

Thanks! I've actually established a RCON connection with the server but I am unable to send any command.
Reply
#9

Make sure you enter the correct password & server ip, and makes sure you uploaded the latest rcon.exe
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)