Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2004-10-12 22:13
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"));


?>