here is the stuff you will need to use rcon password/challenge:
this example executes the 'status' command:
Code:
$rcon_challenge=substr(Rcon('challenge rcon'),14);
echo Rcon('rcon '.$rcon_challenge.' "'.RCON_PASSWORD.'" status');
let me know if you got it working.. or if there are further problems..