27.05.2016, 19:19
Hello. Today I've trying to use RCON from a PHP script. I've used Westie's php class.
I don't know what am I doing wrong. Cannot do it from Windows nor Linux. I've sockets extension enabled, and I've verified that the password is correct. The IP too.
In the server logs, there isn't any logs about trying to connect Rcon and things like that.
My PHP script:
What can I do?
I don't know what am I doing wrong. Cannot do it from Windows nor Linux. I've sockets extension enabled, and I've verified that the password is correct. The IP too.
In the server logs, there isn't any logs about trying to connect Rcon and things like that.
My PHP script:
PHP код:
require('./SampRconAPI.php');
$rcon = new SampRconAPI('XXXXX', 7777, 'XXXXX');
$rcon->adminSay('Hello');