ah, nice to see you here josh.
madquery is about the only example i have for talking to a counter-strike server. i've modified it to connect to a cs:source server as well.
i haven't spent any time trying to send rcon commands, but it's definately possible.
this might help you:
http://server.counter-strike.net/php...evelopment.php