PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Shannon Wynter   Source RCON Class   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: A quick example on how to use it
Class: Source RCON Class
Remote console to control Source games variables
Author: By
Last change: Updated to use new code...
Date: 19 years ago
Size: 194 bytes
 

Contents

Class file image Download
<?php

include_once("rcon.class.php");

$r = new rcon("127.0.0.1",27015,"testme");
$r->Auth();

echo
"Authenticated\n";

//Send a request
var_dump($r->rconCommand("cvarlist"));


?>