ok, phprcon worked in local perfectly, and then due to this error happening ONLY on the web :
so i'm rolling back to your php class, but i really can't this thing to work :
plus, why should i add the PORT here :
if i already have it here:
Thx 4 your future help.
Code:
Warning: fread() [function.fread]: Length parameter must be greater than 0 in /homez.136/gamercer/www/test/rcon_hl_net.php on line 367
so i'm rolling back to your php class, but i really can't this thing to work :
PHP Code:
Unable to open socket: ()
plus, why should i add the PORT here :
PHP Code:
class RCon {
var $Password ;
var $Host ;
var $Port = 27175; // HERE
var $_Sock = null;
var $_Id = 0;
if i already have it here:
PHP Code:
<?php
include ('rcon.php');
$r = new RCon("94.23.26.185",27175,"gamer-certified"); // Here
$r->Auth();
echo "Authenticated\n";
?>
Thx 4 your future help.