Created
June 26, 2015 08:23
-
-
Save bologer/59b1c6e1843b114e43cf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Rcon connection | |
$rcon = new Rcon("217.106.106.217:27015", "ddfgioijio34234knWEFSDknggd"); | |
if( $rcon->Connect() ) { | |
$result = $rcon->Command("status"); | |
$rcon->Disconnect(); | |
echo $result; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment